You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,18 @@ as the provider.
27
27
$client = new JobBrander\Jobs\Client\Provider\Govt();
28
28
29
29
// Search for 200 job listings for 'project manager' in Chicago, IL
30
-
$jobs = $client->setKeyword('project manager') // Attempts to extract as much "signal" as possible from the input text. Handles word variants, so a search on "nursing jobs" will find a job titled "nurse practitioner" and "RN." When parts of the query parameter are used to search against the position title, the results are ordered by relevance. When no query parameter is specified, they are ordered by date with the most recent listed first.
31
-
->setCount(100) // Specifies how many results are returned (up to 100 at a time)
32
-
->setFrom(10) // Specifies the starting record
30
+
$jobs = $client
31
+
// API parameters
32
+
->setQuery() // Attempts to extract as much "signal" as possible from the input text. Handles word variants, so a search on "nursing jobs" will find a job titled "nurse practitioner" and "RN." When parts of the query parameter are used to search against the position title, the results are ordered by relevance. When no query parameter is specified, they are ordered by date with the most recent listed first.
33
+
->setOrganizationIds() // A comma-separated string specifying which federal, state, or local agencies to use as a filter.
34
+
->setHl() // No highlighting is included by default. Use 'hl=1' to highlight terms in the position title that match terms in the user's search.
35
+
->setSize() // Specifies how many results are returned (up to 100 at a time).
36
+
->setFrom() // Specifies the starting record.
37
+
->setTags() // A comma-separated string specifying the level of government. Current tags are federal, state, county, and city.
38
+
->setLatLon() // Comma-separated pair denoting the position of the searcher looking for a job. For example, 'lat_lon=37.783333,-122.416667' is the value for San Francisco, CA.
39
+
// Jobbrander parameters
40
+
->setKeyword('project manager') // See "setQuery()" method above
0 commit comments