Skip to content

Commit 566dde3

Browse files
committed
Point to schema on Tranco site
1 parent b44c612 commit 566dde3

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

tranco/tranco.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,7 @@ def list_metadata(self, list_id):
146146
"""
147147
Retrieve metadata for list (whether it is already available, what its configuration is, ...)
148148
:param list_id: ID of the list for which to query metadata
149-
:return: dictionary with the following information:
150-
```
151-
{
152-
"list_id": String,
153-
"available": Boolean,
154-
"download": String,
155-
"created_on":
156-
Date(YYYY-mm-ddTHH:MM:SS.ffffff),
157-
"configuration": Configuration,
158-
"failed": Boolean,
159-
"jobs_ahead": Integer
160-
}
161-
```
149+
:return: dictionary with the information listed at https://tranco-list.eu/api_documentation
162150
"""
163151
r = self.session.get("https://tranco-list.eu/api/lists/id/{list_id}".format(list_id=list_id))
164152
if r.status_code == 404:

0 commit comments

Comments
 (0)