Skip to content

Commit

Permalink
documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jensenkd committed Mar 5, 2021
1 parent c6ffd28 commit 58a8056
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,17 @@ Boiler plate dependency injection setup.
```

The entry point to Plex-Api is with the PlexAccount class. You can instantiate a PlexAccount class using either your <br />
Plex account login and password, or your Plex authtoken.
Plex account login and password, or your Plex Auth Token.

```c#
var plexFactory = this.ServiceProvider.GetService<IPlexFactory>();

// First, you will need to create a PlexAccount object.
// Signin with Username, Password
PlexAccount account = plexFactory
.GetPlexAccount("username", "password");

// or use and Plex Auth token
var account = plexFactory
PlexAccount account = plexFactory
.GetPlexAccount("access_token_here");

```
Expand Down

0 comments on commit 58a8056

Please sign in to comment.