#๐ Coding Help
25 messages ยท Page 1 of 1 (latest)
@near haven
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.
@near haven are you familiar with python? have you coded anything before that?
Yes.
but not anything similar to what im asking
okay, so where is the struggle? or you not able to find useful information in the docs?
Im trying to learn
how to code that
I want to know how to code a discord python bot with slash commands on how to get information on a uber eats or doordash group link that shows items in cart, fees, subtotal, total, etc.
Well you'd need to be able to get that information via python before you'd be able to put it into a bot. Have you solved that?
no
That would be step 1 IMO. Tracking down where the data you want is and how you'd access it. Sometimes companies don't want you automating over their data, other times they'll provide an API for you to hook into
im pretty sure uber eats or doordash dont provide a api for order details.
Well then the idea is kind of dead in the water. In all likelihood, processing/redistributing their data would be against their terms. Typically if a service wants you to build on it, they'll make it easy for you to do so
Worth reading through their terms though if you want to check
if they don't then your idea can't be done without violating their TOS:/
!rule tos
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
so we wouldn't even be able to help you with that if that is the case
step 0 would be to first check if it's against their ToS or not
I've had my fill of pouring through legalese today lol but it's incredibly unlikely that a company that big would overlook something like that
You have 2 tasks:
- obtaining uber eats etc info from their service - check their TOS docs
- writing a discord bot to use that and show the information
The second bit is probably easier, and gives you a framework for the first part.
https://discordpy.readthedocs.io/en/latest/
The Uber Eats APIs are here:
https://developer.uber.com/docs/eats/introduction
:warning: The owner of this post is no longer in the server.
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.