Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

a tool that will allow developers to query full details of challenges to help build analytical sets.

NotificationsYou must be signed in to change notification settings

topcoderinc/challengeScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

#TOPCODER CHALLENGE DETAILS FOR ANALYTICS

The purpose of the code base is to create a little utility that will allow developers to query full details of challenges to help build analytical sets.

  • nodejs 6+

Setup

chmod +x challengeScrapernpm i

Run

5 parameters: rate limit in seconds, actual endpoint, output file, starting offset (optional), ending offset (optional).

  • if either of starting offset or ending offset is not present, then starting offset and ending offset are set equal.
  • If neither of them is present, starting offset and ending offset are set to 0.
  • If the challenge url already contains offset as parameter, it is removed.

Sample usage without starting offset and ending offset -

challengeScraper 5  "https://api.topcoder.com/v3/challenges/?limit=2"  output.txt

Sample Usage with only starting offset (Note: offset from endpoint is removed) -

challengeScraper 5  "https://api.topcoder.com/v3/challenges/?limit=2&offset=0"  output.txt 2

Sample Usage with both starting and ending offset -

challengeScraper 5  "https://api.topcoder.com/v3/challenges/?limit=10&offset=0"  output.txt 0 2

About

a tool that will allow developers to query full details of challenges to help build analytical sets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp