Skip to content

Error while calling ApiClient.get() #10

@yorick-ne

Description

@yorick-ne

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions