Elite-Kode / eddbapi

A REST API for EDDB
Apache License 2.0
9 stars 3 forks source link

Can't get recent fleet carrier #21

Open lugnier opened 3 years ago

lugnier commented 3 years ago

Thanks for your great work.

When i'm looking for a recent FC https://eddbapi.kodeblox.com/api/v4/stations?name=Q5J-N7Z I've got the answer {"docs":[],"total":0,"limit":10,"page":1,"pages":1}

This FC exist

When I'm looking for mine which is older https://eddbapi.kodeblox.com/api/v4/stations?name=KFW-B4K

I've got 2 {"docs":[{"_id":"5feeed9c85099d57f7bc4606","id":118156,"__v":0,"allegiance":null,"allegiance_id":null,"body_id":null,"controlling_minor_faction_id":77170,"distance_to_star":1104,"economies":[{"_id":"60434d422afd0948fc13f47c","name":"Private Enterprise","name_lower":"private enterprise"}],"ed_market_id":"3704877312","export_commodities":[],"government":"private ownership","government_id":209,"has_blackmarket":false,"has_commodities":false,"has_docking":true,"has_market":true,"has_outfitting":false,"has_rearm":true,"has_refuel":true,"has_repair":true,"has_shipyard":false,"import_commodities":[],"is_planetary":false,"market_updated_at":"2021-02-27T15:26:00.000Z","max_landing_pad_size":"l","name":"KFW-B4K","name_lower":"kfw-b4k","outfitting_updated_at":null,"prohibited_commodities":[],"selling_modules":[],"selling_ships":[],"settlement_security":null,"settlement_security_id":null,"settlement_size":null,"settlement_size_id":null,"shipyard_updated_at":null,"states":[{"_id":"60434d422afd0948fc13f47b","id":80,"name":"None","name_lower":"none"}],"system_id":2310,"type":"fleet carrier","type_id":24,"updated_at":"2021-02-27T16:29:50.000Z"},{"_id":"60449fbc8c6309f8d867b3d1","id":137258,"__v":0,"allegiance":"federation","allegiance_id":3,"body_id":null,"controlling_minor_faction_id":77170,"distance_to_star":8,"economies":[{"_id":"6064b680ac56620324e5f521","name":"Private Enterprise","name_lower":"private enterprise"}],"ed_market_id":"3704877312","export_commodities":[],"government":"democracy","government_id":96,"has_blackmarket":false,"has_commodities":false,"has_docking":true,"has_market":true,"has_outfitting":false,"has_rearm":true,"has_refuel":true,"has_repair":true,"has_shipyard":false,"import_commodities":[],"is_planetary":false,"market_updated_at":"2021-03-27T22:33:05.000Z","max_landing_pad_size":"l","name":"KFW-B4K","name_lower":"kfw-b4k","outfitting_updated_at":null,"prohibited_commodities":[],"selling_modules":[],"selling_ships":[],"settlement_security":null,"settlement_security_id":null,"settlement_size":null,"settlement_size_id":null,"shipyard_updated_at":null,"states":[{"_id":"6064b680ac56620324e5f520","id":80,"name":"None","name_lower":"none"}],"system_id":10315,"type":"fleet carrier","type_id":24,"updated_at":"2021-03-27T22:33:05.000Z"}],"total":2,"limit":10,"page":1,"pages":1} 2021-06-19_21-00-27

Thanks

SayakMukhopadhyay commented 3 years ago

Thanks for the issue. I have found out that nothing in EDDB API has been updated after 30th March. I will look into this ASAP.

SayakMukhopadhyay commented 3 years ago

Just checked and it seems like an old issue has cropped up again. Just for tracking purposes this is essentially due to the way the data is downloaded from EDDB. Related to commit 0234b96e41a3d4d2c6e5513decb0363dd73f8a4f

lugnier commented 3 years ago

Thank you for your answer. Do you know if it's fix now or if you're going to fix it later ? regards

SayakMukhopadhyay commented 3 years ago

Sorry for the delay. Currently very busy with life stuff and so haven't been able to give time to the project. I will get to this as soon as I have some time on my hands. But I would appreciate some help with this.

lugnier commented 3 years ago

Hi,

Thanks for your answer. I'll try to look at this problem this week. I'll tell you if I find something.

Have a good week

Benoist


De : Sayak Mukhopadhyay @.> Envoyé : dimanche 4 juillet 2021 13:25 À : Elite-Kode/eddbapi @.> Cc : lugnier @.>; Author @.> Objet : Re: [Elite-Kode/eddbapi] Can't get recent fleet carrier (#21)

Sorry for the delay. Currently very busy with life stuff and so haven't been able to give time to the project. I will get to this as soon as I have some time on my hands. But I would appreciate some help with this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Elite-Kode/eddbapi/issues/21#issuecomment-873569806, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEJTL7MSQARBG7ON6EPZGW3TWBAKBANCNFSM467J2V6Q.

SayakMukhopadhyay commented 3 years ago

@lugnier I know what the problem is. If you want to help me solve it, we can have a in depth discussion either in here or in some other channels like Discord. Let me know your preference.