|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: TBA-API to end all TBA-APIs. (Java)
This would be really cool if I used Java. I'm not very good at it myself, so I've been using requests in Python for my TBA pulls, it makes things pretty user friendly. If I ever make the switch I'll be sure to keep this in mind. Thanks for posting.
|
|
#2
|
||||
|
||||
|
Re: TBA-API to end all TBA-APIs. (Java)
Are you using a certain library or just urllib requests? I tried using the Python library recommended on the API docs by TBA but kept on getting a 403 error. Apparently they're blocking calls without a User-Agent.
|
|
#3
|
|||||
|
|||||
|
Re: TBA-API to end all TBA-APIs. (Java)
Yeah that didn't used to be the case, but then we put everything behind Cloudflare, which apparently requires a user agent to be set. Must have broken that library.
|
|
#4
|
||||
|
||||
|
Re: TBA-API to end all TBA-APIs. (Java)
Quote:
I recommend the pip install since it's really easy. If you don't have pip the walk through is pretty good. PM me and I can send you some sample code, I don't want to derail this thread too much. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|