Live data from Hacker News

Unofficial APIs

github.com

11–20 of 75 posts

Re: Unofficial APIs

#12
post #10

Haha the pokemonGo Api! I was in the final stages of a bootcamp right when Pokemon Go came out, and a bunch of us were desperately trying to put ourselves on the map by doing something lit with Pokemon Go. We discovered that the spawns were cycled hourly, so if we could gather enough data we could quite accurately map out every pokemon in the city. Then we came up against not knowing anything about parsing the data w…

There were a lot of devs working on that at the time, don’t feel bad.

Re: Unofficial APIs

#14
post #10

Haha the pokemonGo Api! I was in the final stages of a bootcamp right when Pokemon Go came out, and a bunch of us were desperately trying to put ourselves on the map by doing something lit with Pokemon Go. We discovered that the spawns were cycled hourly, so if we could gather enough data we could quite accurately map out every pokemon in the city. Then we came up against not knowing anything about parsing the data w…

Stories like this is why I love the HN community

Re: Unofficial APIs

#15

Domino's Pizza has an unofficial API as well: https://github.com/RIAEvangelist/node-dominos-pizza-api and https://pypi.org/project/dominos/

That's awesome. I've always wanted to set up my own hardware button to order pizza for fun haha.

[deleted]

Re: Unofficial APIs

#16
> Designed to inspire your next Friday night hack.

I've been hit with some burnout recently, and this is the kind of inspiration I need. Small, fun, short term project to get some juices flowing, as opposed to forcing myself to work on personal projects I currently don't have passion for, but feel I need to work on out of some weird sense of obligation.

Thanks, this is actually a really great help.

Re: Unofficial APIs

#17
That Notion API is pretty slick. His example of using it for task management and dashboards is wild. May have to give that a whirl.

Re: Unofficial APIs

#18

Domino's Pizza has an unofficial API as well: https://github.com/RIAEvangelist/node-dominos-pizza-api and https://pypi.org/project/dominos/

That's awesome. I've always wanted to set up my own hardware button to order pizza for fun haha.

Also: https://github.com/ndmckinley/terraform-provider-dominos

Re: Unofficial APIs

#19
From a practicality standpoint, I strongly discourage using unofficial APIs, as tech companies nowadays are very prone to sending out C&Ds. If you have a use case where the official API doesn't suffice, then do not redistribute anything obtained from the unofficial API, and definitely do not attempt to commercialize it.

Re: Unofficial APIs

#20
post #10

Haha the pokemonGo Api! I was in the final stages of a bootcamp right when Pokemon Go came out, and a bunch of us were desperately trying to put ourselves on the map by doing something lit with Pokemon Go. We discovered that the spawns were cycled hourly, so if we could gather enough data we could quite accurately map out every pokemon in the city. Then we came up against not knowing anything about parsing the data w…

There were amazing city maps for active pokemon spawns. It would show all currently spawned pokemon, as well as how much longer they would be there for. It was fun to see what is around you at any given point, but only marginally useful without notifications.

I noticed that one of the more popular SF pokmeon go mapping websites was using a simple REST API. You gave it a coordinate, and it would spit out locations for all pokemon within a mile radius or so. I created a background python task on my computer that would hit this API every 2 minutes with my apartment's location, plus like a mile range around it.

If it found any rare pokemon (Gyrados, Dragonite, etc.) the python program sent a message to a specific slack channel that I set up. It was an easy way for me to get push notifications on my phone when something spawned around me. From there, I would high tail it on my bike and catch the pokemon. I still have this Pokemon channel at my work Slack instance haha.

It was amazing. My pokedex filled up so quick. This approach only worked for about 3 weeks until Niantic majorly cracked down on their API, which rendered all the API scrappers obsolete. But that period was by far the most fun I had with Pokemon GO. I whipped that program up in like 3 hours on a Saturday and it was the only time in my life where I've felt like a l33t hacker, even though I was doing some very basic REST API operations. The actually impressive thing was the mapping website that was scrapping the actual Niantic API.

Post reply on HN