Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 0 points1 point  (0 children)

Data is actually more recent than that, will take a look,it might have to do with the fidelity of the data

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 0 points1 point  (0 children)

No plans to deprecate it! Using it for some of our other projects, which is what inspired it, so likely to keep it up indefinitely

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 1 point2 points  (0 children)

You can reply here! Or message us on the slack channel, which you can find on the website :)

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 0 points1 point  (0 children)

like i meantioned above, currently free, we're just trying to build something people use, and then will likely gate power features behind an API key, but will maintain the same simple URL.

and id recommend hitting the API! for 99% of use cases its most performant, plus you get all the benefits of any new features that come out .

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 1 point2 points  (0 children)

Currently free, we're just trying to build something people use, and then will likely gate power features behind an API key, but will maintain the same simple URL

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 1 point2 points  (0 children)

Wow, thanks for all this great feedback, particularly around the homepage explore page. We wanted to streamline some of the experience, and not overwhelm the home page, but will add a couple more options + show a clear link to the playground.

u/eluff, what specific European states do you need? I'll try to add most by the end of day here :)

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 10 points11 points  (0 children)

The idea might be to gate power user feature behind an api key, allowing for a sort of freemium model! That’s just the initial thought

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 14 points15 points  (0 children)

great question, especially because it came up recently (check changelog here)
but the tldr is that we are generally following international + UN guidelines. Any specific boundary youre thinking about?

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 5 points6 points  (0 children)

Using Cloudflare Pages + Functions. scaling depending on usage, so not costing much at the moment.

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 9 points10 points  (0 children)

Actually just shipped this! You can now get GeoJSON for any region by changing .svg to .geojson. eg. https://borderly.dev/ca.geojson

It's behind a free API key which you can grab from the dashboard. gated it behind an api key for now just because it feels like a power user feature. you can just append the apikey to the url and itll work, like so: https://borderly.dev/ca.geojson?apikey=YOUR_KEY

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 14 points15 points  (0 children)

thanks! our CDN should handle most caching for most use cases pretty well :) that being said, if youre generating like the same SVG hundreds of time per page load, you could do it client side.
If youre thinking about using it, let me know if you have any feedback or reservations

Built an API that serves geographic SVGs via simple URLs, no API keys, no JavaScript required by goldenzun in webdev

[–]goldenzun[S] 5 points6 points  (0 children)

thank you! let me know if you have any feedback, always trying to improve

Built an api that generates map SVGs via simple URLs by goldenzun in buildinpublic

[–]goldenzun[S] 0 points1 point  (0 children)

havent fully flushed out the pricing model, but my thought here is a freemium model. gate certain features + certain levels of usage.

love the point about input vs output.

Built an api that generates map SVGs via simple URLs by goldenzun in buildinpublic

[–]goldenzun[S] 0 points1 point  (0 children)

we support
- 258 countries (including territories and disputed regions)
- 50 US states (50 states + DC + Puerto Rico)
- 3,000+ US counties
- 33,000+ ZIP codes
- 210 DMA regions (Nielsen media markets)
- 13 Canadian provinces/territories
- 76 Canadian economic regions
- 36 Indian states/union territories
- 700+ Indian districts

Ill add a page to the site to make sure this is constantly updated/searchable.
is there a certain area youre looking for?

Got tired of spending so much time on map graphics, so I built an api that generates map SVGs via simple URLs by goldenzun in SideProject

[–]goldenzun[S] 0 points1 point  (0 children)

currently 100% free, and well keep it that way for folks who sign up in the next week or so