README.md in hawatel_search_jobs-0.2.1 vs README.md in hawatel_search_jobs-0.3.0
- old
+ new
@@ -4,11 +4,11 @@
[![Gem Version](https://badge.fury.io/rb/hawatel_search_jobs.svg)](https://badge.fury.io/rb/hawatel_search_jobs)
[![Dependency Status](https://gemnasium.com/Hawatel/hawatel_search_jobs.svg)](https://gemnasium.com/Hawatel/hawatel_search_jobs)
# Hawatel Search Jobs
-Hawatel_search_jobs, it is gem which provides ease access to API from popular job websites to get current job offers. At this moment, supported backends are indeed.com, careerjet.com, xing.com, careerbuilder.com and reed.co.uk.
+Hawatel_search_jobs, it is gem which provides ease access to API from popular job websites to get current job offers. At this moment, supported backends are indeed.com, careerjet.com, xing.com, careerbuilder.com, reed.co.uk, and upwork.com.
Before you can start using the gem, you need have an accounts/tokens for each portal where is required by API.
## Installation
@@ -57,19 +57,27 @@
config.careerbuilder[:page_size] = 25 # allowed range <1,100>
config.careerjet[:activated] = true
config.careerjet[:api] = 'public.api.careerjet.net'
config.careerjet[:page_size] = 25 # allowed range <1,99>
+
+ config.upwork[:activated] = true
+ config.upwork[:consumer_key] = 'secret-key'
+ config.upwork[:consumer_secret] = 'secret-key'
+ config.upwork[:oauth_token] = 'secret-key'
+ config.upwork[:oauth_token_secret] = 'secret-key'
+ config.upwork[:page_size] = 25 # allowed range <1,100>
end
```
#### Where to get a secret-key
1. Indeed: http://www.indeed.com/jsp/apiinfo.jsp
2. Xing: https://dev.xing.com
3. Reed: https://www.reed.co.uk/developers/jobseeker
4. Careerbuilder: http://developer.careerbuilder.com
5. Careerjet: secret-key is no needed (http://www.careerjet.com/partners/api/)
+ 6. Upwork: https://developers.upwork.com
#### Get first page of job offers
There are two ways to read the returned job offers.
+ Returned job offers by search_jobs method:
@@ -79,9 +87,10 @@
p result[:indeed]
p result[:xing]
p result[:reed]
p result[:careerbuilder]
p result[:careerjet]
+ p result[:upwork]
```
+ Access to the instance variable jobs_table.
Instance variable *jobs_table* always has last returned job offers.
```ruby