[feature request] scriptable API to interface with Logos

2»

Comments

  • Kolen Cheung
    Kolen Cheung Member Posts: 1,096 ✭✭✭

    Thanks Mark again. I just started to use this and it is actually quite useful. The only bump I got is I spent almost an hour just to figure out resourceIds is something like 'LLS:EEC15EZR' not '24998' (which I assumed from the REST API...)

    
    

    We appreciate your enthusiasm for our products and your desire to programmatically explore the Faithlife platform.  We have public facing developer documentation for a couple of our web APIs at https://developer.faithlife.com/, but these APIs were specifically designed with public consumption in mind and have built in rate limiting.  Unfortunately, some of our older APIs have not yet been retrofitted with rate limiting and there is potential for the additional load to impact other users of our services.

    We don’t object to you calling external APIs called by the desktop application, but we do ask that you throttle your calls to our APIs to a couple hundred requests per minute.  We’ll plan to add rate limiting in the near future.

    Thanks for your understanding!

    Thanks for letting me know. I did try to find the limit and see there's 300 requests per minute from the Products API but not mentioned in ResourceMetadata API. Will it be ok if I limit it at the same rate (300 requests per minute)?

    To prevent sending a ton of requests, I actually was trying to cache the metadata locally first yesterday. But the SOAP interface causes me some problem.

    By the way, to others in this thread, I think I've found a way to "write" without writing to the database. Essentially the problem is how to "create" something from the data gathered back into Logos. I think I've found a way to do that without actually writing to the database, which is something every response to that is negative. I'll test this idea once I have cached all the metadata.

  • Nate Merritt (Logos)
    Nate Merritt (Logos) Member, Logos Employee Posts: 28

    Thanks for letting me know. I did try to find the limit and see there's 300 requests per minute from the Products API but not mentioned in ResourceMetadata API. Will it be ok if I limit it at the same rate (300 requests per minute)?

    We'll probably set a rate limit much lower than 300 requests per minute in the near future for the ResourceMetadata API and require authentication for the GetMetadata route.

  • Kolen Cheung
    Kolen Cheung Member Posts: 1,096 ✭✭✭

    We'll probably set a rate limit much lower than 300 requests per minute in the near future for the ResourceMetadata API and require authentication for the GetMetadata route.

    I see that it is now requiring authentication. Could you tell us what's the rate limit?

    Thanks.

  • Nate Merritt (Logos)
    Nate Merritt (Logos) Member, Logos Employee Posts: 28

    I see that it is now requiring authentication. Could you tell us what's the rate limit?

    The rate limit is currently 4000 requests per hour for the GetMetadata route.

  • C. H. Salzgeber
    C. H. Salzgeber Member Posts: 6 ✭✭

    Did anyone ever get anywhere with this? Looking to do something similar.. Logos is far too slow when it comes to string searches and other types of queries for biblical research - I can do something a fair bit faster but need raw data to work with.

  • Kolen Cheung
    Kolen Cheung Member Posts: 1,096 ✭✭✭

    I see that it is now requiring authentication. Could you tell us what's the rate limit?

    The rate limit is currently 4000 requests per hour for the GetMetadata route.

    Has anything changed on the SOAP interface? e.g. starting with product ID of 165462, with resource ID of {A54626B9-439E-42F2-BFAD-3AB0443E8AFF}, it used to give me its metadata such as the AbbreviatedTitles, etc. and now it returns nothing. Are other people experiencing the same issue or is it just me? If it has been changed, how might I query a collection such as the "Logos 8 Academic Professional" with all its children recursively?

    Thanks.