The CreatorCon Call for Content is officially open! Get started here.

Integrating ServiceNow and Codeforces

KushalK
Tera Contributor

Codeforces is a platform which hosts competitive programming contests.It also provides API methods to interact with and get the data from codeforces.

Click to get all the methods supported by Codeforces.

Demo of this integration is available here

 

Step by Step process :

  1. Created a custom table to store details .( It has three fields userid, maxrating , userrating)
  2. Created a REST Message with GET Method 
  3. Created a before insert BR which calls the REST Message and populates the details given that a valid userid is entered.

 

Images of BR and REST Message Code Snippets:

 

Screenshot 2025-01-20 at 11.09.32 PM.pngScreenshot 2025-01-20 at 11.10.54 PM.pngScreenshot 2025-01-20 at 11.13.53 PM.png

 

Thank you 😊

2 REPLIES 2

Mark Manders
Mega Patron

And what is a business/use case for integrating with Codeforce? 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

i just wanted to try the methods provided by CF and somehow populate the data.