Skip to content

Commit

Permalink
formating code to get software xml data with writeLocal
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzouz-Thuderoz committed Apr 23, 2024
1 parent c4248ed commit c365d5e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/zbmath_rest2oai/writeLocal.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import json

import requests
import os

from requests.auth import HTTPBasicAuth

from zbmath_rest2oai import getAsXml


def write_oai(api_source):
return getAsXml.final_xml2(api_source)
if __name__ == '__main__':
import sys
write_oai(sys.argv[1])

0 comments on commit c365d5e

Please sign in to comment.