Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
citricsquid
· 8y ago · 0 comments
Although undocumented, there is a way to programmatically get the camps in a town, you can check the www. town source for an example of how I've done it, the endpoint is `/camps`, e.g:
https://hackernews.hypertext.town/camps
:)
Comments
[–]
TeMPOraL
8y ago
Thanks; updated town page with some hand-written JS that makes use of this :).
[–]
timvdalen
8y ago
Ah that's cool, the Town had better show off all of the cool camps :)
[–]
TeMPOraL
8y ago
Done!