API scraper and OAuth token generator