arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Getting all Reviews

hashtag
Venues using API V1

hashtag
To get all reviews for a double-blind venue, you can do the following:

  1. Get all submissions for your venue. You can do this by passing your venue's submission invitation into get_all_notes. You should also pass in details = "directReplies" to obtain any notes that reply to each submission.

2. For each submission, add any replies with the Official Review invitation to a list of Reviews.

3. The list reviews now contains all of the reviews for your venue.

hashtag
To get all reviews for a single-blind venue, you can do the following:

  1. Get all submissions for your venue. You can do this by passing your venue's submission invitation into get_all_notes. You should also pass in details = "directReplies" to obtain any notes that reply to each submission.

2. For each submission, add any replies with the Official Review invitation to a list of Reviews.

3. The list reviews now contains all of the reviews for your venue.

hashtag
Venues using API V2

hashtag
To get all reviews for a single-blind and double-blind venue, you can do the following:

  1. Get all submissions for your venue. You can do this by passing your venue's submission invitation into get_all_notes. You should also pass in details = "directReplies" to obtain any notes that reply to each submission.

2. For each submission, add any replies with the Official Review invitation to a list of Reviews.

3. The list reviews now contains all of the reviews for your venue.

submissions = client.get_all_notes(
    invitation="Your/Venue/ID/-/Blind_Submission",
    details='directReplies'
)
reviews = [] 
for submission in submissions:
    reviews = reviews + [reply for reply in submission.details["directReplies"] if reply["invitation"].endswith("Official_Review")]
submissions = client.get_all_notes(
    invitation="Your/Venue/ID/-/Submission",
    details='directReplies'
)
reviews = [] 
for submission in submissions:
    reviews = reviews + [reply for reply in submission.details["directReplies"] if reply["invitation"].endswith("Official_Review")]
submissions = client.get_all_notes(
    invitation="Your/Venue/ID/-/Submission",
    details='directReplies'
)
reviews = [] 
for submission in submissions:
    reviews = reviews + [reply for reply in submission.details["directReplies"] if reply["invitation"].endswith("Official_Review")]