this post was submitted on 29 Jun 2024
47 points (98.0% liked)
Programming
17101 readers
65 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
curl 'https://lemmy.world/api/v3/user?username=egeres&sort=New&page=1&limit=20' | jq .posts
https://join-lemmy.org/api/classes/LemmyHttp.html#getPersonDetails
The documentation is really terrible and the developers try to defend it anyways.
Some instances also employ cloudflare or other anti-ddos techniques that make automated API usage impossible.
Unofficial documentation using OpenAPI is here @egeres@lemmy.world .
Btw, the user interface uses the same API. Just open the web developer tools in your browser and look at the network tab.
Anti Commercial-AI license
This is still written from a javascript perspective and assumes many things that are not true when using other approaches to calling the endpoints.
Confused what you mean. OpenAPI has nothing to do with JS.