Skip to content

Commit

Permalink
Merge pull request #12 from hkors/master
Browse files Browse the repository at this point in the history
Parse actual information using Node.js
  • Loading branch information
frdmn authored Jan 9, 2017
2 parents fa38247 + 8df8696 commit 70ba64b
Show file tree
Hide file tree
Showing 3 changed files with 523 additions and 0 deletions.
23 changes: 23 additions & 0 deletions nodejs/README.md
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.
Loading

0 comments on commit 70ba64b

Please sign in to comment.