Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
from API to ip
#2
(Dec-05-2018, 09:27 PM)Larz60+ Wrote: Repost in jobs, showing what you offer for compensation.
We will help you write code, but will not write it for you.
thanks for answer i wrote simple script which requests data to api
its simply printing, now i want to filter when user asks for data request for api and send it to user




response = requests.get("API",auth=('user', 'pass'))
data = response.json()

print(data)

if else statement but how get when user asks for json
Reply


Messages In This Thread
from API to ip - by whatl0ol - Dec-05-2018, 09:11 PM
RE: from API to ip - by nilamo - Dec-05-2018, 10:09 PM
RE: from API to ip - by whatl0ol - Dec-05-2018, 10:11 PM
RE: from API to ip - by nilamo - Dec-05-2018, 10:13 PM
RE: from API to ip - by whatl0ol - Dec-05-2018, 10:19 PM
RE: from API to ip - by nilamo - Dec-06-2018, 04:45 AM
RE: from API to ip - by whatl0ol - Dec-06-2018, 04:11 PM
RE: from API to ip - by nilamo - Dec-06-2018, 04:49 PM
RE: from API to ip - by whatl0ol - Dec-06-2018, 04:49 PM
RE: from API to ip - by nilamo - Dec-06-2018, 05:10 PM
RE: from API to ip - by snippsat - Dec-06-2018, 11:00 PM
html to python - by whatl0ol - Dec-06-2018, 12:36 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020