updated a bunch of things and cleaned up script output file

This commit is contained in:
Drew Hynes
2024-11-03 01:10:49 +00:00
parent e9e9e9a76b
commit 58b0d192cd
3 changed files with 32 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
This is example output from wadl-map.py
```
0: v1/player-spotlight
method
@@ -302,3 +306,4 @@ resource
jersey:extended
++++++++++++++++++
```

View File

@@ -1,7 +1,25 @@
"""
Description: A simple script to query the NHL API and generate simple
documentation
License: MIT, see LICENSE file for more details
"""
import requests
import xmltodict
import json
__author__ = 'Drew Hynes'
__copyright__ = 'Copyright 2024, NHL API Documentation'
__credits__ = ['Kevin Sidwar','Jon Ursenbach']
__license__ = 'MIT'
__version__ = '0.0.1'
__maintainer__ = 'Drew Hynes'
__email__ = 'drew.hynes@gmail.com'
__status__ = 'Alpha'
url = "https://api-web.nhle.com/application.wadl?detail=true"
attributes = [
"@path",