I have been browsing around for support of this topic's title, but it seems it isn't built into the language...
How can I write a .bas file that uses the online API? Info about it can be found here...http://gamejolt.com/api/doc/game
If you guys can write a code snippet for it, that would be great.
All I need is the Users, Scores, and Trophies components.
User projects written in or related to FreeBASIC.
2 posts • Page 1 of 1
FreeBasic does not have networking support built into the language. You need to implement that yourself or use appropriate libraries doing that. Based on those you can perform the HTTP GET requests as described in the API documentation you've linked. For example libcurl should implement everything you need. For libraries like SimpleNetworkConnection (SNC) you'd additionally need a minimal HTTP implementation.
Who is online
Users browsing this forum: No registered users and 5 guests