Friday, 12 May 2017

Getting data from a website without API / Creating an API

I need to get some data from a Website (the user will change). However there is no 'good' API for Overwatch Stats. Is it possible in Javascript (Using Node.js) to get this data by the HTML tags or of sort?

For example, this is one of the lines in the source code:

<span class="summary-hero-name">McCree</span>

And the 3 hero's on display on the page each have the class summary-hero-name, is there any way to reference this data?



via Rusty

No comments:

Post a Comment