Gabriel

Results 53 comments of Gabriel

@Kamaropoulos @mobassir94 it was only down for about an hour. Even still it's probably a good idea to have a backup if you need guaranteed availability and/or cache frequently.

> How to paginate MongoDB cursor object in FastApi? https://pymongo.readthedocs.io/en/stable/api/pymongo/cursor.html#pymongo.cursor.Cursor https://motor.readthedocs.io/en/stable/api-asyncio/cursors.html#motor.motor_asyncio.AsyncIOMotorCursor Both regular `pymongo` and `motor` cursor's have `next()` implemented, so you can iterate over the items one at a...

@mannawar I'm not sure I fully understand your complete question. And this seems off-topic (it doesn't really have anything to do with Mongo). But when it comes to how to...

@Sajantoor If 100% availability is an issue for you I suggest deploying the application yourself or using this US-based version. https://covid-tracker-us.herokuapp.com/

Seem's to work for me, it's possible it timed out because the cache needed to be refreshed. https://covid-tracker-us.herokuapp.com/v2/locations?source=nyt&county=los%20angeles ```json { "latest": { "confirmed": 188481, "deaths": 4621, "recovered": 0 }, "locations":...

https://covid-tracker-us.herokuapp.com/v2/locations?source=nyt&county=los%20angeles&timelines=true ```json { "latest": { "confirmed": 188481, "deaths": 4621, "recovered": 0 }, "locations": [ { "id": 4, "country": "US", "country_code": "US", "country_population": 327167434, "province": "California", "county": "Los Angeles", "last_updated": "2020-08-01T17:55:52.661104Z",...

Thanks for the report, and the example. The NYT data-set was only recently added. They do not provide coordinates like our other sources. Solutions to the problem were discussed by...

From what I have seen you guys talking about on other issues it seems like the format of the data is not totally stable. If that's the case wouldn't it...

Happy to help with this as well.

> And it should be in Python? Not my speciality but I could do some research. https://api.mongodb.com/python/current/