ckatzorke / howlongtobeat

A simple api for https://howlongtobeat.com/
Do What The F*ck You Want To Public License
338 stars 45 forks source link

Able to return extra information like 'Release Dates' #58

Open renatocfrancisco opened 11 months ago

renatocfrancisco commented 11 months ago

I don't know if it's possible, but if you can return the platforms, it would be possible to return the release dates, publisher and even genres. It would be great because the Steam Store API is rate limited and I can't get more than 200 release dates without slowing down.

Nioh (1 release date)

chrome_XHQxVl8LFh

God of War (3 release dates)

chrome_DDHcVYyLtk

Example:

{
  id: '36936',
  name: 'Nioh',
  imageUrl: 'https://howlongtobeat.com/gameimages/36936_Nioh.jpg',
  timeLabels:
   [ [ 'gameplayMain', 'Main Story' ],
     [ 'gameplayMainExtra', 'Main + Extras' ],
     [ 'gameplayComplete', 'Completionist' ] ],
  gameplayMain: 34.5,
  gameplayMainExtra: 61,
  gameplayCompletionist: 93.5,
  similarity: 1,
  searchTerm: 'Nioh',
  releaseDates: [
    ['NA', 'February 07, 2017']
  ]
}