API method to extract infos per countries
SamyPesse opened this issue · comments
Something like:
GET /:website/countries
Parameters
It should accept the following query string parameters:
Name | Type | Description |
---|---|---|
start |
Date | To query a range (default: none) |
end |
Date | To query a range (default: none) |
These parameters should be common and normalized for almost all GET
methods.
Results:
I think we should normalize the format of results for "pies", instead of having a different format for each (countries
, platform
, type
):
{
"list": [
{
"id": "fr",
"label": "France",
"count": 1000,
"unique": 900 // Not sure it can be easily done, but it'd be awesome
}
...
]
}