BATgrowth / detect-bat-publishers

DEPRECATED: A npm package to detect Brave Browser / Basic Attention Token publishers
https://www.npmjs.com/package/detect-bat-publishers
MIT License
21 stars 3 forks source link

Filter by Country #10

Open vikingkarwur opened 5 years ago

vikingkarwur commented 5 years ago

How about to filter by country ? Thanks

maxenceC commented 5 years ago

Cool idea!

I can definitely implement that for youtube publishers

I'll build it as a view accessible at this URL /publishers/youtube/country/{country_code}

For Twitch I'm not sure if the country is included on the API response, I need to check it out, and for websites I might be harder to classify by country. But at least it's easily doable for Youtube

maxenceC commented 5 years ago

@vikingkarwur I've added the filter by country for Youtube publishers

Capture d’écran 2019-03-21 à 19 07 44

For example, for Indonesia:

https://batgrowth.com/publishers/youtube/country/ID

Or for France:

https://batgrowth.com/publishers/youtube/country/FR

I will try to add the same feature for Twitch and website publishers

vikingkarwur commented 5 years ago

Thanks @maxenceC #Awesome