8 lines
191 B
Python
8 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)
|
|
|