PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

Add import/export support for pobl.ink

Open nwtnsqrd opened this issue 2 years ago • 0 comments

Check for duplicates

  • [X] I've checked for duplicate issues by using the search function of the issue tracker

Is your feature request related to a problem?

Adding another import/export service would be helpful if

  • one of the existing services is down
  • you have exceeded the request rate limit with another service

Describe the solution you'd like

Import: When importing a build, allow https://pobl.ink to provide POB data Export: When exporting a build, allow to select pobl.ink as target

Describe alternatives you've considered

No response

Additional context

Creating a link on pobl.ink:

curl -d '{"content":"<POB generated code>"}' \
       -H "Content-Type: application/json" \
       -X POST https://pobl.ink/v1/create

Response:

{"id":"d0GVPM87"}

The id is always [a-zA-Z0-9]{8}.

Querying the resulting URL https://pobl.ink/d0GVPM87 will return a string of the submitted POB code (provided link is just dummy data).

nwtnsqrd avatar Oct 27 '22 11:10 nwtnsqrd