seraphx2 / ESI.NET

A C# wrapper for the Eve Online ESI API.
https://www.nuget.org/packages/ESI.NET/
MIT License
40 stars 23 forks source link

long instead of int #64

Closed Hazzel1337 closed 1 year ago

Hazzel1337 commented 1 year ago

hello, your universe/names/ uses long, but the api wants int, could you maybe fix that ? :)

public async Task<EsiResponse<List<ResolvedInfo>>> Names(List<long> any_ids) { return await EsiRequest.Execute<List<ResolvedInfo>>(_client, _config, EsiRequest.RequestSecurity.Public, HttpMethod.Post, "/universe/names/", null, null, any_ids.ToArray()); }

but eve api wants https://esi.evetech.net/ui/#/Universe/post_universe_names

post_universe_names_ids[ example: List [ 95465499, 30000142 ] maxItems: 1000 minItems: 1 title: post_universe_names_ids uniqueItems: true ids array integer($int32) title: post_universe_names_id id integer ]

Hazzel1337 commented 1 year ago

thank you for the fix, your libary is awsome and helps me a lot <3

seraphx2 commented 1 year ago

yup yup. no problem!