WFCD / Warframe.NET

Under rewrite: Collection of Warframe libraries for C# developers.
MIT License
23 stars 8 forks source link

Complete WorldState.Data models for the worldstate parser. #11

Open Erlite opened 5 years ago

Erlite commented 5 years ago

All of these models are returned by the worldstate api at api.warframestat.us, so we'll need to make C# models for every item returned to be used when deserializing from the JSON results.

If I missed anything please let me know.

Erlite commented 5 years ago

Alerts should be done, created AlertMission and MissionReward. However it seems like the worldstate doesn't re-use models often between each route, only with a couple of exceptions, is there any reason for that? @TobiTenno

TobiTenno commented 5 years ago

Because the data is pretty different between each route

Erlite commented 5 years ago

Ah alright, well that's not too bad.

TobiTenno commented 5 years ago

I've been pulling as many common fields into the base object, but it's pretty varied. I need to go through and clean up some of the responses like for Twitter. At some point, I'd like to write it in bicubic routes similar to what Nexus stats uses for their API that makes their docs largely auto-generated.

Erlite commented 5 years ago

It's not a big problem, I'm just surprised DE didn't think about making their API cleaner in the first place.

Erlite commented 5 years ago

Unable to do events for now since the docs say array of object and the api returns an empty array.

TobiTenno commented 5 years ago

You can see the possible fields on the js repo in wfcd/warframe-worldstate-parser

Erlite commented 5 years ago

I'll also make an interface for cycles.

Erlite commented 5 years ago

Sorties are done.

TobiTenno commented 4 years ago

oh, i have actual swagger docs now: swagger

TobiTenno commented 4 years ago

this codegen might make it go a bit faster.