Going off the example in #1 (comment), I tried the following code:
from imslp import client
r = client.ImslpClient()
results = r.search_works(composer="Schoenberg")
ids = [r["intvals"]["pageid"] for r in results]
print(ids)
The search_works() call "appears" to produce unresponsive behaviour, as there is no indication that anything is being done. However, sending a keyboard interrupt after some time (a few minutes) does return data. Is there a more efficient method to get information on a large number of works?
Going off the example in #1 (comment), I tried the following code:
The
search_works()call "appears" to produce unresponsive behaviour, as there is no indication that anything is being done. However, sending a keyboard interrupt after some time (a few minutes) does return data. Is there a more efficient method to get information on a large number of works?