#๐Ÿ”’ Polymarket id problem

27 messages ยท Page 1 of 1 (latest)

unreal bluffBOT
#

@stoic merlin

Python help channel opened

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.

torn wadi
#

You should definitely read the API that its pulling the data from

tepid crane
golden girder
#

hey @stoic merlin

#

you have to use their api

stoic merlin
#

I tried getting the bot to look into the literal gamma api and it didn't work

golden girder
#

the python client linked above will probably handle a lot for you

stoic merlin
#

ok thanks man

#

appreciate your time

#

will try it out

golden girder
#

what data are you trying to get?

#

id from markets?

stoic merlin
golden girder
#

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

stoic merlin
golden girder
fading owl
#

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.

golden girder
#

the place you always should go when you want to read about how things work

stoic merlin
#

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

unreal bluffBOT
#
Python help channel closed for inactivity

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.