it's my first time to use REST APIs ... now i try to retrieve data from "https://www.football-data.org" i want to list teams for a particular competition .. so in docs it was sample ... and i should to use these filters season={YEAR} stage={STAGE} but i don't know how ..thanks connection = http.client.HTTPConnection('api.football-data.org') headers = { 'X-Auth-Token': '72ae860eeabb435d9efef739f853b4fe' } connection.request('GET', '/v2/competitions/2021/teams', None, headers) response = json.loads(connection.getresponse().read().decode())
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ec661f6d-3ffa-4397-b74d-4eea2ecb0800%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

