9 lines
191 B
Python
9 lines
191 B
Python
|
import requests
|
||
|
import xmltodict
|
||
|
import json
|
||
|
|
||
|
def reload():
|
||
|
bookshelf_xml = requests.get("https://magpi.raspberrypi.com/bookshelf.xml")
|
||
|
return xmltodict.parse(bookshelf_xml.content)
|
||
|
|