These are chat archives for arenanet/api-cdi

31st
Oct 2017
Eearslya Sleiarion
@Eearslya
Oct 31 2017 00:01
programming timezones is something no one should ever do no gitter I have you this time
Archomeda
@Archomeda
Oct 31 2017 00:01
i'm just gonna watch this instead and pretend DST doesn't exist
ehmm
Eearslya Sleiarion
@Eearslya
Oct 31 2017 00:01
see that's exactly what I avoided XD
Archomeda
@Archomeda
Oct 31 2017 00:02
BUT CATS
who doesn't love cats? :cat:
also, the mandatory "is gitter openso-", wait
smiley
@codemasher
Oct 31 2017 01:53
omg, i've added a sleep(1) to the oauth request for fun and reddit works... i hate it so much
i've implemented and tested 25 APIs now, most of which have rate limits (some even stricter) and reddit is the one acting that weird
smiley
@codemasher
Oct 31 2017 02:14

i can't even

as a reminder to developers, we recommend that clients make no more than one request every two seconds to avoid seeing this message.

what's the limit now? 60/min like the docs say? or 1/second? or 2/second?
does this work for you or do you run into a 429?
there's a 3 second delay between each request now
Michael Dougall
@madou
Oct 31 2017 06:58
:fire: ?
Quaggan BooOOoot
@QuagganBooOOoot
Oct 31 2017 07:02

API downtime Oct 30-Nov 1.
by (ArenaNet) Lawton Campbell.8517 in API Development

We're doing some hardware maintenance and the GW2 APIs will be down from 3PM PST Oct 30th to 7PM PST Nov 1st.

Werdes
@werdes
Oct 31 2017 11:37
@codemasher Fatal error: Uncaught chillerlan\OAuth\OAuthException: error retrieving access token: "429" Array ( [message] => Too Many Requests [error] => 429 ) in /var/www/vendor/chillerlan/php-oauth/src/Providers/OAuth2Provider.php:136 Stack trace: #0 /var/www/vendor/chillerlan/php-oauth/src/Providers/OAuth2Provider.php(176): chillerlan\OAuth\Providers\OAuth2Provider->parseResponse(Object(chillerlan\OAuth\HTTP\OAuthResponse)) #1 /var/www/vendor/chillerlan/php-oauth/src/Providers/Reddit.php(110): chillerlan\OAuth\Providers\OAuth2Provider->getAccessToken('V0ztgHa0P9pXrH9...', 'bfddc0db260bb6b...') #2 /var/www/sites/smiley.codes/www/oauth/index.php(25): chillerlan\OAuth\Providers\Reddit->getAccessToken('V0ztgHa0P9pXrH9...', 'bfddc0db260bb6b...') #3 {main} thrown in /var/www/vendor/chillerlan/php-oauth/src/Providers/OAuth2Provider.php on line 136
smiley
@codemasher
Oct 31 2017 13:38
@werdes thanks!
so apparently it's the user agent, but i have no idea which UA reddit would accept - none of the examples do work :/
<platform>:<app ID>:<version string> (by /u/<reddit username>)
smiley
@codemasher
Oct 31 2017 16:26
:triple_facepalm:
windwarrior
@windwarrior
Oct 31 2017 16:36
@Archomeda doesnt the cloud run on the cloud?
Archomeda
@Archomeda
Oct 31 2017 17:20
cloudception
smiley
@codemasher
Oct 31 2017 17:20
nono, the cloud runs on a cluster!
Eearslya Sleiarion
@Eearslya
Oct 31 2017 17:28
the cloud can't go down, it's the cloud!
Akshay Gupta
@Dolvic
Oct 31 2017 18:00
But... but... what if it starts raining?! Everything stored in the cloud would be lost!
windwarrior
@windwarrior
Oct 31 2017 18:30
have you ever heard of an information leak
they occur only when its raining somewhere on the planet
Archomeda
@Archomeda
Oct 31 2017 21:45
okay... i've come to the conclusion that i HATE safetynet or w/e the hell it's called
just because i want to have control over my phone, doesn't mean that it should be impossible to use/install certain apps
it's literally the worst protection ever
just protect your own damn application instead of forcing me to lock down my phone
smiley
@codemasher
Oct 31 2017 21:51
oh, apparently it's helloween
image.png
github trick or treat <random repo deleted>
BoyC
@BoyC
Oct 31 2017 23:03
hm are there 32 slot versions of the fractal equipment bags (the masterwork/rare/exotic collector ones)?
Archomeda
@Archomeda
Oct 31 2017 23:04
nop
BoyC
@BoyC
Oct 31 2017 23:04
damn. that'd make my inventory layout uneven :\
Eearslya Sleiarion
@Eearslya
Oct 31 2017 23:17