abiosgaming / go-sdk-v2 Goto Github PK
View Code? Open in Web Editor NEW[deprecated] Go SDK for the Abios API. https://abiosgaming.com
License: MIT License
[deprecated] Go SDK for the Abios API. https://abiosgaming.com
License: MIT License
We were hitting several timeouts on abios due to the http timeout. This change made it work for us.
For replicability, this is the params we have on the request that was timing out:
q := make(abios.Parameters)
t := time.Now().Add(3 * (-24 * time.Hour))
q.Add("games[]", "2")
q.Add("games[]", "5")
q.Add("with[]", "casters")
q.Add("is_deleted", "false")
q.Add("platforms[]", "1")
q.Add("starts_before", "now")
q.Add("starts_after", t.UTC().Format(RFC3339NoTimezone))
q.Add("page", strconv.FormatInt(currentPage, 10))
It seems like a 20 s timeout is not enough. I forked it to make a quick fix since we are on a bit of a crunch, but thought I'd let you know anyways!
For us it would be very useful if we could customize for instance what URL the SDK uses.
authenticate
should return an error instead of panicking if NewRequest
fails.
Additionally, NewWithUrl
should either specify in the documentation that the url needs to be /
terminated, or force it to be.
I can implement this if it is okayed.
Hi,
I found that the series_id is missing in the Match (structs.Match).
could you please help to fix it?
adward
Email: [email protected]
Hi Team, can we expect an upgrade for the new Abios V3 atlas api?
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.