An asynchronous .NET Wrapper for Warframe's World State API.
Written in C#
Statuses
Under rewrite: Collection of Warframe libraries for C# developers.
License: MIT License
Goals:
HttpClient
is a weird class. The class is not intended to be instantiated per request. There's more information on the docs. As a solution, I propose making WarframeClient
implement IDisposable
and maintain its own instance of HttpClient
for the lifetime of the object, disposing of the client when the WarframeClient
is disposed of. That way the same HttpClient
instance is used for all requests made through the WarframeClient
rather than a new instance being created per request.
This is a really cool project but when I try to run it I only get a "Unexpected character encountered while parsing value: {. Path 'Alerts[0].Activation', line 1, position 6576."
Which points to ""Activation":{"$date":{"$numberLong":"1543679128601"}}" in the json.
So there is some error with the date conversion here or Im missing something.
Per the title, I wonder if we should just ignore some of the properties returned by the API. They seem to be generated by the data returned from the real Warframe API, and some of it really isn't needed as we can make it ourselves in the wrapper. This would reduce the clutter inside model classes like this:
[JsonProperty("eta")]
public string TimeRemainingString { get; private set; }
[JsonProperty("startString")]
public string TimeSinceStartString { get; private set; }
Thoughts?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.