Skip to content

Instantly share code, notes, and snippets.

@craigboman
Last active March 6, 2019 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save craigboman/c83645202cabdeb68b56fad8f4dbb046 to your computer and use it in GitHub Desktop.
Save craigboman/c83645202cabdeb68b56fad8f4dbb046 to your computer and use it in GitHub Desktop.
## goal of code is to loop through csv imported python list of OCLC numbers, individually querying the OCLC holding status() api
## var number is not incrementing
for i in data:
counter = 0 #probably a better way to do this counter
number = data[counter][0]
holding = status(number)
print(number,holding)
counter += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment