-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse actual information using Node.js
- Loading branch information
Showing
3 changed files
with
523 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# SocialClub parser | ||
## Install Node.js | ||
Download Node.js from http://www.nodejs.org/ | ||
|
||
## Install node dependencies | ||
``` | ||
npm install | ||
``` | ||
By running the above CLI command from the folder containing the ```package.json``` file, a folder ```node_modules``` will be created with all the dependencies defined in ```package.json```. This folder contains modules that are necessary to run the script. | ||
|
||
## Modify credentials | ||
Your SocialClub username and password need to be given at the first two lines of the ```index.js``` file. | ||
|
||
## Run the script | ||
``` | ||
node . | ||
``` | ||
The above CLI command will execute the ```index.js``` file and prints the user information of the user belonging to the username configured in the ```index.js``` file. | ||
|
||
``` | ||
node . <username> | ||
``` | ||
This CLI command executes the ```index.js``` file and prints the user information of the user belonging to the username specified in the command. |
Oops, something went wrong.