FAForever / FAForever/faftools

Error while calling ApiClient.get()

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
1
Forks
8
PR merge metrics
No merged PRs in 30d

Description

minimal working example :
`import faf.api.client`
`api = faf.api.client.ApiClient()`
`api.get("/maps")`

The log complains about a list not having a get method here: https://github.com/FAForever/faftools/blob/develop/faf/api/client/client_base.py#L37
when downloading http://api.faforever.com/maps manually you can see that `first` would be a list in this case ( similar stuff happens for .../mods)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.