Show HN: Self-generated custom art for your home or Airbnb
161–170 of 171 posts
Re: Show HN: Self-generated custom art for your home or Airbnb
#162Earlier quoted context omitted.
Possible solution: Maybe proxy your Foursquare API requests via https://www.eliotand.me/airbnb-poster/search or a similar API endpoint you'd create. Disallow CORS on that new API endpoint. You can keep the API call signature but remove the client ID and secret. On your backend you can then make those Foursquare API requests and add the client ID and secret to the request.
I built a microservice that does something similar[0] for Mailchimp. They have an API that requires a secret key, but we didn't want to keep a server running for it (and obviously didn't want anyone on the internet playing with our key). So I set up a little python service that serves a page and 'proxies' the API to the end user. [0] https://github.com/sasha42/Mailchimp-utility
You could also do this simply by running on Azure Functions (free consumption plan). All you need to deploy is a simple proxies.json, see [1].
On the AWS side it appears you can entirely use API Gateway. Here [2] is a Swagger 2.0 definition file I just wrote which upon import creates an API endpoint that should proxy requests to an external API while adding your secret credentials.
[1]: https://aka.ms/apiproxy [2]: https://gist.github.com/berndverst/b59fa0b38544f13c05ae0b77f...
Re: Show HN: Self-generated custom art for your home or Airbnb
#163Earlier quoted context omitted.
I built a microservice that does something similar[0] for Mailchimp. They have an API that requires a secret key, but we didn't want to keep a server running for it (and obviously didn't want anyone on the internet playing with our key). So I set up a little python service that serves a page and 'proxies' the API to the end user. [0] https://github.com/sasha42/Mailchimp-utility
Very nice! You could also do this simply by running on Azure Functions (free consumption plan). All you need to deploy is a simple proxies.json, see [1]. On the AWS side it appears you can entirely use API Gateway. Here [2] is a Swagger 2.0 definition file I just wrote which upon import creates an API endpoint that should proxy requests to an external API while adding your secret credentials. [1]: https://aka.ms/apip…
https://gist.github.com/berndverst/37d87570418bbee77641777e1...
Re: Show HN: Self-generated custom art for your home or Airbnb
#164Earlier quoted context omitted.
Mapbox use OSM data. You can download it here ( http://planet.openstreetmap.org/ ). If you know how to process it, you can use it any way you want (subject to the liberal OSM licence)
> subject to the liberal OSM licence Not to piss on the OP's parade, but, while liberal, the OSM license does require you to to give proper attribution to OSM in such a way than users are likely to notice it - I don't see that here. Would be nice to get the OP's comments on this?
edit: reading through other comments it's possible the author added the attribution only recently (after OPs comment)
Re: Show HN: Self-generated custom art for your home or Airbnb
#165You are violating licenses. "© Mapbox © OpenStreetMap © Leaflet" is not appropriate. Including a copyright mark for Leaflet suggests that you have no idea why, so make sure you really understand whose data and art you use and how you are allowed to do so.
Having trouble finding this and am curious, if anyone could point it out -
Re: Show HN: Self-generated custom art for your home or Airbnb
#166Earlier quoted context omitted.
Just use https://openmaptiles.org/ for a fraction of the cost (512USD) and no restrictions on how you use them commercially.
AFAICS, you do still need to provide attribution to OpenMapTiles?
Re: Show HN: Self-generated custom art for your home or Airbnb
#167Re: Show HN: Self-generated custom art for your home or Airbnb
#168Re: Show HN: Self-generated custom art for your home or Airbnb
#169You are violating licenses. "© Mapbox © OpenStreetMap © Leaflet" is not appropriate. Including a copyright mark for Leaflet suggests that you have no idea why, so make sure you really understand whose data and art you use and how you are allowed to do so.
Re: Show HN: Self-generated custom art for your home or Airbnb
#170It's very nice, I just wanted to wish you the best in this venture. It's functional, well-priced, addresses a need, doesn't claim to be more than it really is, and is pulled off very nicely. Suggestion for more layouts.
Thanks for the kind words and the suggestion. We will add a landscape format and new styles (color schemes) in the near future. Which style is your favorite?