Public Development API

Planned

Comments

81 comments

  • Avatar
    jastreich

    I also tried what Shawn Tabai did, but took it a step beyond by making the same requests that DNDBeyond's ajax scripts call from the chrome extension.  I didn't continue down the path because it technically violates the TOS and the files they make calls to could change because it requires the extension and not being a public API could change at any moment without warn

    The thing I want to write, or DNDBeyond to add is content management. A way to store the contients, the nations on the continents, the towns in those nations, the shops and people and other places in those towns, and then the offerings of the various shops.  I currently have a very long DM Notes (private) in my campaign.

    While I COULD just write those notes in Google Docs or the like (and did previously), the problem because not having the nice hover previews, and having to jump back and forth between tabs and such. Having it open during the game means I can add new people/places during the game -- but even there DNDBeyond's campaign notes falls apart because the [magicItem] and [spell] aren't active while editing, and switching to/from editing scrolls to the top because it is just a normal link and normal form element.

    So, I'm very tempted to make a local app in nodejs and compile with electron to get around CORS, or to just to make a web app that requires a chrome extension.  The things stoping me are the TOS and possibility of constant breaking change from DNDBeyond.  (And the other projects I'm working on, that if I weren't I might not let the other two bother me).

    Sorry rant over.

    1
    Comment actions Permalink
  • Avatar
    Shawn Tabai

    Dömötör Péter There is a lot to be said for the business strategy of a platform/ecosystem vs a standalone product. WotC seems to see it the way you do, but providing integrations into other tools comes with a lot of opportunities to capitalize (e.g. charging for API quota, advertising tools in their ecosystem, taking a cut of all purchases). The risk of allowing data services is minimal; it's trivial to already do this with web scraping (as my code shows), and any real business would be incredibly foolish to risk their livelihood by violating the API's terms. I believe they're hurting their platform by force-feeding their product, and it really is a shame.

    1
    Comment actions Permalink
  • Avatar
    Andrew Obrigewitsch

    Shawn Tabai, I am of the same mindset. An API would allow others to make tools they aren’t even thinking about. WTC and most publishers are still very much in the 90s with their thought process. So let’s make an API for the SRD and get third party content on it. If it’s successful WTC will have to jump on board.

    1
    Comment actions Permalink
  • Avatar
    Andargor

    I do not see this feature on the Trello roadmap.

    1
    Comment actions Permalink
  • Avatar
    Robert Hall

    It's because earlier this year they narrowed the scope of the roadmap on Trello. It used to list every major feature that was planned, but now only shows what they're going to work on in the current and next quarters.

    1
    Comment actions Permalink
  • Avatar
    Andrew Obrigewitsch

    I'm currently working on a project to help reduce the number of sites and app needed to play DND, I'm not replacing DND, but figure some folks here may be interested in helping out. 

    I've gotten a backend written with GraphQL API and am using Next.js with Typescript for the front end. Just getting started on the front end now. 

    1
    Comment actions Permalink
  • Avatar
    Zachjallen

    Proper auth would be paramount as you don't want this to be abused but as the original request stated and I would like to include your campaigns, characters, and characters in your campaign. Getting all this info would be great and promote so many excellent tools and discord bots to augment or work with ddb would be a huge draw and boon to the community.

    1
    Comment actions Permalink
  • Avatar
    Grzegorz Kawka-Osik

    @Steven Strauss

    Fun to see how this made full circle, as I got the idea of making that dm screen from comments in this thread.

    0
    Comment actions Permalink
  • Avatar
    Steven Strauss

    Happy to help.  You would think that they would utilize this to make an alpha.

    0
    Comment actions Permalink
  • Avatar
    Grzegorz Kawka-Osik

    Hope not. The code is, well... not up to the standards of any sane developer. But this could be a form of proof of concept.

    0
    Comment actions Permalink
  • Avatar
    John Christian Forrester

    I would also love to use an API to develop apps for D&D Beyond content; In particular I would like to make apps that would allow for increased flexability in using content, as is one of the main advantages to a PnP style game.

    0
    Comment actions Permalink
  • Avatar
    Robert Hall

    I too would love to see an API for accessing purchased campaign content. This would be huge for inspiring creativity in the community. I know I have a lot of ideas locked in my brain that would be fun to work on and share if this were ever made a priority.

    0
    Comment actions Permalink
  • Avatar
    Janusz Kamieński

    As a developer working on the D&D online tools as well I would love to see possibility for my users to connect their D&D Beyond accounts via OAuth2 and pull the content they already own to their benefit. Otherwise they have to copy-paste stuff which I think can be annoying for them on both sides: D&D Beyond and my app.

    We totally need it! 

    0
    Comment actions Permalink
  • Avatar
    Steven Strauss

    I think that they will be an actuality soon because they are moving to a newer framework and being very cloud based, the information will be easy to get the information using  an API.

     

    0
    Comment actions Permalink
  • Avatar
    Leighpierce90

    As a bit of an update for people, as of last year, I know from a reliable source that the lack of API (as well as third party content) is actually a matter of legality and licensing with WOTC. DNDBeyond do want to release one, but they need to go through all the legal hoops to "expose" all of WOTCs IP.

    Hopefully they can get all the permissions, as you can see from the character jsons that there is data available to pull already for things like the twitch extension.

    0
    Comment actions Permalink
  • Avatar
    Ory Walker

    That's unfortunate but not unsurprising given WOTCs penchant for being difficult about everything. All you have to do is look at  how they handle their MtG IP. 

    Oh well, it'll be done when it's done I guess. Still a shame that it's taken this long, but at least now I know to aim my disappointment at WOTC. 

    0
    Comment actions Permalink
  • Avatar
    James

    So I lack the skills to do this but I it might be possible if you understand the code they use. Avrae is open source and shows their methods of pulling data from DDB. You could possibly replicate or piggy back off of that?

    0
    Comment actions Permalink
  • Avatar
    Leighpierce90

    Dndbeyond owns avrae, so that’s how the integrations work.

    0
    Comment actions Permalink
  • Avatar
    Jonathan Schenker

    +1 For an API, even if it was just to access your own character data once authenticated using your own key. Being able to have plugins that allow for things like item management would be fantastic.

    0
    Comment actions Permalink
  • Avatar
    Thomas Ech

    Also popping in to say I have an interest in this.

    0
    Comment actions Permalink
  • Avatar
    Richard B Way

    With the announcement today the Privateer Press is releasing the newest version of Iron Kingdoms RPG on the 5e system, I'm really hoping the API moves forward. With the number of races and classes they are adding, being able to develop a solution to managing characters with data specific to them while integrating with the core DND beyond features (through the user's registered account) could be a great way to get folks exposed to both DND beyond and IKRPG!

    0
    Comment actions Permalink
  • Avatar
    Taurolyon

    Please prioritize this. It would be helpful to developers looking to create converters from DDB to the many VTTs out there.

    0
    Comment actions Permalink
  • Avatar
    Timothy Morris

    I really want this. I want to be able to make tools catered to my own campaigns that aggregate player inventory info, passives, etc, in convenient custom pages.

     

    It'd also allow me to make tools to give players items with custom tools that only take a couple of clicks rather than pausing the game to go through D&D Beyond's full interface.

    0
    Comment actions Permalink
  • Avatar
    Andrew Obrigewitsch

    So I’m seriously interested in building something, does anyone want to work on it with me?

    0
    Comment actions Permalink
  • Avatar
    Janusz Kamieński

    Actually, it looks like there's no API key to connect. avrae-service code shows that it is connecting directly to the MongoDB - probably the one they use for the D&D Beyond as well. 

    Shawn Tabai - any input here may be helpful to people. I was thinking of creating an extension as well, so it may be a good point to start for me. Please share your code, so we can fork :) 

    0
    Comment actions Permalink
  • Avatar
    Dömötör Péter

    jastreich

    I would suggest tryingout world anvil. I know a lot of youtubers are pusing it but it is actually preaty good. It has exactly that functionality of storing continents and cities etc. Give it a try. 

    The obvious reason they are not releasing an API is because of WoC. If they had an API one could just buy all the content and use some easy api calls to get everything... The API that I want to see is only for the character stats, so one could make a table top simulator where they just link in the character and it shows the HP and all that.

    0
    Comment actions Permalink
  • Avatar
    Janusz Kamieński

    jastreich - can you point out exact part of TOS you are referring to? 

    My idea was to let people who actually own the content, be able to quickly move content and convert it for some other apps instead of stupid copy-paste between two browser windows. That's what I have to do currently lots of time and is pretty frustrating. I see no point of having D&D Beyond content (that btw multiplies my expenses for books) when I wouldn't be able to use it for quick copying and adjusting for my - DM's - needs. Ranting a little as well, sorry ;) 

    0
    Comment actions Permalink
  • Avatar
    Andrew Obrigewitsch

    Unless something drastically changes DNDBEYOND is not creating an API, even though it makes sense for us tech people WOT will not let them. So if have an idea to get content in an API so you can directly import this data into VTTs and or whatever you want. But I’m looking for folks to work with me on this project.

    0
    Comment actions Permalink
  • Avatar
    Nick Lowe

    There's already multiple API for the SRD. https://www.dnd5eapi.co/ and https://open5e.com/ are the most popular. open5e also includes some 3rd party OGL content.

    The main benefit to a dndbeyond API would be to allow people to access 1st party content that they paid for on dndbeyond. I made software for campaign management and this kind of API would be huge for my platform since I wouldn't have to force people to buy a 2nd (or 3rd) copy of their source or adventure books to get full use of the software.

    I'd also love to back and forth update character sheets, that would be amazing.

    0
    Comment actions Permalink
  • Avatar
    Andrew Obrigewitsch

    There are a lot of different parts involved in creating an API that is well known and used, such as getting enough users to get a critical mass. I’m a Senior Software Engineer and I run a Facebook group for DMs in which I interview different content creators, such as Sandy Petersen and DMDave. I have a plan for this but need a team to help.

    If you Google my name I’m easy to find on social media and I would love to talk to anyone with tech knowledge and an interest in getting more tech in TableTop RPGs.

    0
    Comment actions Permalink

Please sign in to leave a comment.