gotham13 / superCodingBot

THE TELEGRAM BOT FOR COMPETITIVE PROGRAMMERS
MIT License
33 stars 15 forks source link

What do you use to run code? #3

Open somnathrakshit opened 6 years ago

somnathrakshit commented 6 years ago

Do you run the code in your private server or do you use some other website through an API that runs the code and sends you the result?

gotham13 commented 6 years ago

I have hosted this on openshift online. You can run it anywhere with a python environment . The python-telegram-bot library takes care of getting the data from telegram's server to you.

gotham13 commented 6 years ago

for the /compiler command I use hackerranks api. And for /upcoming , /ongoing I use clists api

somnathrakshit commented 6 years ago

My main question is regarding the /compile command since Hackerrank says that they've discontinued the API.

gotham13 commented 6 years ago

Yeah It does say so on the website but the api is still working.

On Wed, 5 Sep 2018, 00:40 Somnath Rakshit, notifications@github.com wrote:

My main question is regarding the /compile command since Hackerrank says https://www.hackerrank.com/api/docs that they've discontinued the API.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Gotham13121997/superCodingBot/issues/3#issuecomment-418483922, or mute the thread https://github.com/notifications/unsubscribe-auth/AZNjHBUCVVu7ZLHR5c9Ujop0CQ8PPNasks5uXtA1gaJpZM4WYZQ6 .

somnathrakshit commented 6 years ago

You can use the Hackerearth API maybe. Overall, a nice project.

gotham13 commented 6 years ago

Yeah I was thinking of shifting to it when Hackerrank api stops working. But it still works apparently.

On Wed, 5 Sep 2018, 00:45 Somnath Rakshit, notifications@github.com wrote:

You can use the Hackerearth API https://www.hackerearth.com/docs/wiki/developers/v3/ maybe. Overall, a nice project.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Gotham13121997/superCodingBot/issues/3#issuecomment-418485552, or mute the thread https://github.com/notifications/unsubscribe-auth/AZNjHPBUExL3o8fIhlLQkS7pp08K44AFks5uXtFrgaJpZM4WYZQ6 .

somnathrakshit commented 6 years ago

They even have a Python SDK for it to make things easy.