Depreciating My First Package

Some time ago, I created a post on Dev.to about creating my first package, a NodeJS API for the online IDE Replit. Over the years my skills increased, the knowledgebase increase, and ReplAPI.it got better. We shifted from adding every part of the APIs …


This content originally appeared on DEV Community and was authored by RayhanADev

Some time ago, I created a post on Dev.to about creating my first package, a NodeJS API for the online IDE Replit. Over the years my skills increased, the knowledgebase increase, and ReplAPI.it got better. We shifted from adding every part of the APIs to creating a package that allows for users to get the data they need without struggling through documentation and ideologies. The package was depreciated.

Why?

The Replit API is crazy and constantly changing, and in our efforts to put every part of it at the disposal of our users we set ourselves up for failure. Every week there was some new error, some change to the site, some new query that threw a wrench in our plans. The situation was somewhat similar to that faced by the Discord.py devs. We were blind to everything unless someone asked on the Discord Server. In fact our project was never sponsored (or acknowledged for that matter) by anyone on the Replit team. It became a bit of a pain to manage the package, and attempts to make the process easier and DRYer only made the codebase shift more insane.

Now What?

Well at the current state, the package is unusable and there are no plans by myself to update it. Some community members have used it as a base to create their own versions which I whole-heartedly support. I don't intend on passing the package itself on NPM over to just anyone, but if you update the package to work with the current problems faced by developers then feel free to shoot me an email.

If you want to use the Replit API at it's current state there are a few hurdles. Firstly you need an HTTPS package because the staging domain that allowed HTTP is down and the main site requires HTTPS. The API endpoint is at https://replit.com/graphql. Secondly, you need a schema. You can find some of it by look in DevTools in Network Requests, reverse-engineer the ReplAPI.it package, or obtain a copy of the schema from some benevolent member of the Replit Team (or Replit Mods). With these two in hand you can create your own projects with the API.


This content originally appeared on DEV Community and was authored by RayhanADev


Print Share Comment Cite Upload Translate Updates
APA

RayhanADev | Sciencx (2021-09-05T19:50:56+00:00) Depreciating My First Package. Retrieved from https://www.scien.cx/2021/09/05/depreciating-my-first-package/

MLA
" » Depreciating My First Package." RayhanADev | Sciencx - Sunday September 5, 2021, https://www.scien.cx/2021/09/05/depreciating-my-first-package/
HARVARD
RayhanADev | Sciencx Sunday September 5, 2021 » Depreciating My First Package., viewed ,<https://www.scien.cx/2021/09/05/depreciating-my-first-package/>
VANCOUVER
RayhanADev | Sciencx - » Depreciating My First Package. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/09/05/depreciating-my-first-package/
CHICAGO
" » Depreciating My First Package." RayhanADev | Sciencx - Accessed . https://www.scien.cx/2021/09/05/depreciating-my-first-package/
IEEE
" » Depreciating My First Package." RayhanADev | Sciencx [Online]. Available: https://www.scien.cx/2021/09/05/depreciating-my-first-package/. [Accessed: ]
rf:citation
» Depreciating My First Package | RayhanADev | Sciencx | https://www.scien.cx/2021/09/05/depreciating-my-first-package/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.