Skip to content

Commit

Permalink
- Updated Readme
Browse files Browse the repository at this point in the history
Took 4 minutes
  • Loading branch information
Luc1412 committed Jul 9, 2020
1 parent 99df67a commit 2edeb3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ Get all Br cosmetics.
###### Returns
Returns a list of `BrCosmetic` objects.

### Cosmetics
```
api.cosmetics.fetch_new()
```
Get all new Br cosmetics.
###### Parameters
- `language` [GameLanguage] (Optional) - Specify the language of the shop. Default is set to english
###### Returns
Returns a `NewBrCosmetics` object.

___

```
Expand Down
1 change: 0 additions & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def sync_test():
async def async_test():
fn = fortnite_api.FortniteAPI(run_async=True)
print(await fn.shop.fetch(combined=True))

print([[i.name, i.type.value] for i in (await fn.cosmetics.search_all(unseen_for=800))])
print((await fn.cosmetics.search_first(name='Drift')).id)
print((await fn.creator_code.search_first('GetOnMyLvl')).user.name)
Expand Down

0 comments on commit 2edeb3e

Please sign in to comment.