You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the follow! Your crate seems simple enough to be able to make an R wrapper quite quickly. Figured I could spend an hour or so on it however it looks like the 'query_bulk() ' function fails to deserialize properly whereas query_ip() succeeds.
Note that this is use default tokio features
let rt = tokio::runtime::Builder::new_current_thread().enable_time().enable_io().build()?;let res = rt.block_on(query_bulk(vec!["1.1.1.1"])).unwrap();
thread '<unnamed>' panicked at src/lib.rs:148:49:
called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Decode, source: Error("invalid type: map, expected a sequence", line: 1, column: 0) }
stack backtrace:
The text was updated successfully, but these errors were encountered:
Yeah theres an issue with query_bulk in the library, I can fix it later next week or if you have time you can submit a pull request.
Bulk lookup works so its just an issue with map it seems https://api.ipquery.io/1.1.1.1,1.1.1.2
Thanks for the follow! Your crate seems simple enough to be able to make an R wrapper quite quickly. Figured I could spend an hour or so on it however it looks like the 'query_bulk() ' function fails to deserialize properly whereas query_ip() succeeds.
Note that this is use default tokio features
The text was updated successfully, but these errors were encountered: