codelabsab / foodify

Spotify, but for food
3 stars 0 forks source link

Create microservice for integration with Mathem #5

Open tommymalmqvist opened 4 years ago

parberge commented 4 years ago

Can't find any information about the mathem API.

I see they have api.mathem.se, but it just drops the connection:

 curl api.mathem.se -v
* About to connect() to api.mathem.se port 80 (#0)
*   Trying 185.53.164.252...
* Connected to api.mathem.se (185.53.164.252) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: api.mathem.se
> Accept: */*
>
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer

I really think we shouldn't try to implement this using web scraping

parberge commented 4 years ago

This is a thread I posted in when I was looking at this a few years ago: https://twitter.com/MatHem/status/559632797686448128