primelib / perspective4j

Java Client for the Perspective API: https://www.perspectiveapi.com
MIT License
1 stars 0 forks source link

Add Batch/Bulk requests #6

Open xMrAfonso opened 10 months ago

xMrAfonso commented 10 months ago

Hey there, firstly, love the library.

I might find time to work on this myself, but I would love to see batch requests added to the library. This is possible since all google apis support batch requests.

Thanks.

PhilippHeuer commented 10 months ago

Hi @xMrAfonso,

i took another look at the documentation at https://developers.perspectiveapi.com/s/about-the-api-methods?language=en_US, but it doesn't seem to support batching requests. There are a few new attributes i can add though, so thanks for creating the issue.

If you find anything feel free to let me know or work on it yourself. Just a little note because the contribution page on the documentation isn't complete yet.

xMrAfonso commented 10 months ago

Hey @PhilippHeuer, if I understood correctly, they aren't documented in the perspectiveapi documentation but it works just like any google api.

Here is the documentation for batch requests, hope this helps.