Spaces:
No application file
No application file
Download src/msl/data.py from metasoccer/collab: direct link, hf CLI and curl.
- Browser
- Download file 169 Bytes
-
https://huggingface.co/spaces/metasoccer/collab/resolve/main/src/msl/data.py
- Command line
-
hf download hf://spaces/metasoccer/collab/src/msl/data.py
-
curl -L -o data.py https://huggingface.co/spaces/metasoccer/collab/resolve/main/src/msl/data.py
169 Bytes
| import requests | |
| def get_group_info(group_id): | |
| url = f"https://api.metasoccer.com/msl/group/{group_id}" | |
| response = requests.get(url) | |
| return response.json().result |