#๐ Polymarket id problem
27 messages ยท Page 1 of 1 (latest)
@stoic merlin
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
You should definitely read the API that its pulling the data from
@stoic merlin did you use this? https://github.com/Polymarket/py-clob-client
I tried getting the bot to look into the literal gamma api and it didn't work
the python client linked above will probably handle a lot for you
that will not be as useful as you might think. AIs are not trained on this type of system, but do test the client, it makes an abstraction from writing your own graphql queries
what data are you trying to get?
id from markets?
Bitcoin 5 minute up/down
and then the ime window would be dynamic since it would grab whatever one was currently running in ET
i see.. well the docs and api refeerences on this site is exceltionally well made
with full examples of lots of things the api can do
what site is this? on poly's api?
their docs
If you writing your own code, then the tricky part is those 5-min markets are dynamic, so IDs keep changing โ youโll need to programmatically pick the latest active one instead of hardcoding.
Try inspecting network calls on the site to see how they fetch it.
the place you always should go when you want to read about how things work
ok, I grabbed the info on there and put into z ai
I used claude to build the code since I am a python noob still
everything is done basically except for grabbing the correct id
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.