API: is there a way to return an array of subject data with meanings?

Hi! I’m currently having to do a separate request between getting my assignments(and the subject ids), which come as an array, and then getting the information for each single subject via single requests.

Is there a way for me to get back an array of subject info based on subject ID? Or is the best way to go about doing this to somehow store a subject data base locally(not sure how I’d create this)
I was looking at using something like this:
https://api.wanikani.com/v2/subjects/{1,2}
but this currently creates 2 separate curl requests, which isn’t what I’m looking for


Thanks in advance!

1 Like

actually nevermind- I found out that I can accomplish this by using the query parameter like this
curl “https://api.wanikani.com/v2/subjects?ids=1,2

2 Likes