API Updates

jodie
jodie

been wanting to play with the api for a while, but not had a project in mind. A friend who likes to put a lot of system and setting wiki info in was bemoaning the fact that he can't clone campaigns. So I thought a tool for cloning wiki pages between campaigns would be a cute first project. ALAS the api docs say that the api is currently unusable.

Any news or workarounds or even areas an unreliable software dev could pitch in here and there to expedite the process? 

Comments

  • jodie
    jodie
    Posts: 74

    You could just generate an api key in the settings page near the css for each campaign, and cycle it each month/fortnight. It's lazy but it would be a good stopgap.

  • Kallak
    Kallak
    Posts: 1,090

    I wish I could do it for you. Sadly, that's a bit above my pay grade.

    All the best,
    - Kallak
  • jodie
    jodie
    Posts: 74

    Is there a volunteer dev community? I know there used to be a write an api wrapper invitation. 

  • thaen
    thaen
    Posts: 586

    Definitely appreciate the offer, but the dev environment is not a simple setup, so it's non-trivial to get a volunteer dev up and running.  We're currently "paying down some technical debt", which is why the broken API isn't getting any love right now.  So no promises about when the API will be fixed, but it's on the list.

    Obsidian Portal Developer

  • jodie
    jodie
    Posts: 74

    That's very fair, thanks for the reply. Good luck in wrangling the errant lines.

  • Synapscape
    Synapscape
    Posts: 2

    Is there any update on the API?

  • thaen
    thaen
    Posts: 586

    @Synascape, no updates yet.  Is there something specific you're wanting to use the API for?

    Obsidian Portal Developer

  • Synapscape
    Synapscape
    Posts: 2

    Yes, I've built a combat tracker for Conan 2d20 with Angular and Firebase and it would be super convenient to get the data out of the DST into this tracker via API. 

  • thaen
    thaen
    Posts: 586

    Cool!  If you're just going for the data, and it's not a private Campaign, or a GM Only Character, I think the data for the DST is in the page and can be "scraped" directly.  View Source on the Character and search for "dynamic_sheet_attrs".

     

    Obsidian Portal Developer

Sign In or Register to comment.