Hello Ffion
If I understand correctly, you regularly have to send API queries built
from metadata from a CSV file, is that correct? If this task is recurring,
it may be worth looking into scripting this process, either using something
like Python if you're comfortable with that, or even OpenRefine, which
should be able to load CSVs, handle rules to put together your JSON payload
and run API queries with the result.
In case you're not yet familiar with OpenRefine, there are many great
tutorials available, for example from LibraryCarpentry:
https://librarycarpentry.org/lc-open-refine/
Best,
Thomas
On Fri, Jan 12, 2024 at 3:19 AM Ffion Bell <[log in to unmask]> wrote:
> Hello all,
> After a couple of months of reading very interesting posts on this list it
> is now my turn.
> Though not a programmer, I do interact with the API of our library
> platform so have a grasp of the basics involved in making requests.
>
> In order to make PUT and POST requests to the API of our library platform,
> often involving 100s of items, I have been using Postman. I prepare the
> body of the requests with metadata attributes (in JSON) using variables for
> metadata values. I have csv with the metadata values themselves for each
> item. Then I run the request/s through the Runner feature that loops the
> request/s, using the csv data.
> This works well, but I am coming up against the Postman Runner limit of 30
> a month. 30 seems like a lot but I am still slightly in the learning phase
> so sometimes use up runs with failed tests.
>
> My question is, are there any alternatives to this useful feature? I only
> use this part of Postman really, and I don't know if I can justify an
> upgrade to a paid plan for just this.
> Many thanks, Ffion
>
>
> Ffion Bell
>
> Associate Editor
>
> International Council for the Exploration of the Sea
>
> www.ices.dk<http://www.ices.dk/>
>
> H.C. Andersens Boulevard 44-46
>
> 1553 Copenhagen V. Denmark
>
>
> [cid:51306938-81fc-4f83-a01e-d548c3041a0c]
>
--
Thomas Guignard
Library technology & open data consultant
tgconsulting.ca
|