How do I get a list of all platforms?

Need help with your application? Ask here.
Post Reply
ramibitar96
Posts: 5
Joined: Thu Aug 02, 2018 12:19 am

How do I get a list of all platforms?

Post by ramibitar96 » Tue Aug 14, 2018 11:41 pm

I'm trying to get the basic list of all Platforms available so that I can display it in a list, I am new to using API's in general and so maybe I'm just being dumb but I figure that someone here can answer my question.

I tried using this but that just gave me the HTML of the api documentation, any help is appreciated thanks

Code: Select all

https://api.thegamesdb.net/Platforms?apikey=removed

User avatar
freelancer
Posts: 17
Joined: Fri Jun 29, 2018 4:53 pm
Location: Sweden

Re: How do I get a list of all platforms?

Post by freelancer » Wed Aug 15, 2018 5:24 am

ramibitar96 wrote:
Tue Aug 14, 2018 11:41 pm
I'm trying to get the basic list of all Platforms available so that I can display it in a list, I am new to using API's in general and so maybe I'm just being dumb but I figure that someone here can answer my question.

I tried using this but that just gave me the HTML of the api documentation, any help is appreciated thanks

Code: Select all

https://api.thegamesdb.net/Platforms?apikey=removed
That is the correct address. I just tried it myself with my api key, and it gave me a json list of all the platforms.

ramibitar96
Posts: 5
Joined: Thu Aug 02, 2018 12:19 am

Re: How do I get a list of all platforms?

Post by ramibitar96 » Wed Aug 15, 2018 5:22 pm

freelancer wrote:
Wed Aug 15, 2018 5:24 am
ramibitar96 wrote:
Tue Aug 14, 2018 11:41 pm
I'm trying to get the basic list of all Platforms available so that I can display it in a list, I am new to using API's in general and so maybe I'm just being dumb but I figure that someone here can answer my question.

I tried using this but that just gave me the HTML of the api documentation, any help is appreciated thanks

Code: Select all

https://api.thegamesdb.net/Platforms?apikey=removed
That is the correct address. I just tried it myself with my api key, and it gave me a json list of all the platforms.
I tried again just now and it worked, I am so confused but I am glad it worked so I am just going to pretend that it did not happen and move on. Thank you Freelance I appreciate your input.

Post Reply