providers

package
v0.0.0-...-7b98386 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: GPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collect

func Collect(provider Provider) *list.List

Collect helps you recovering a list of jobs from a Provider

func IterateOver

func IterateOver(lst *list.List, fn func(*Job))

IterateOver make iterating over a job list easy

You may want to use it after Collect

func RetrieveAsync

func RetrieveAsync(provider Provider, fn func(*Job))

RetrieveAsync calls your function argument asynchronously

This call is blocking to let you know when it finishes

You should use it in a goroutine to avoid blocking

Types

type Diff

type Diff struct {
	Added   []*Job
	Removed []*Job
}

Diff represents a diff between two providers

func NewDiff

func NewDiff(provider Provider, provider2 Provider) (*Diff, error)

NewDiff creates a diff

type Job

type Job struct {
	// Title specifies the job title
	Title string `json:"title"`

	// Company specifies the company offering the job
	//
	// A single provider may provide multiple companies
	Company string `json:"company"`

	// Location is the location of the job's office
	Location string `json:"location"`

	// Type specifies the job schedule or contract type
	Type string `json:"type"`

	// Desc is the job's description
	Desc string `json:"description"`

	// Link refers to an HTTP URL providing the job offer
	Link string `json:"link"`

	// Misc may contain more specific information
	Misc map[string]string `json:"misc"`
}

Job is a standardized job offer

func (*Job) Hash

func (job *Job) Hash() [16]byte

Hash returns the structure md5 sum based on job title, company and location

func (*Job) ToHearkat

func (job *Job) ToHearkat() *hearkat.Job

ToHearkat converts the job

type JobType

type JobType string

JobType represents a job type, by schedule and by contract

const (
	FullTime       JobType = "Full time"
	PartTime       JobType = "Part time"
	FixedTerm      JobType = "Fixed term"
	Temporary      JobType = "Temporary"
	Internship     JobType = "Internship"
	Apprenticeship JobType = "Apprenticeship"
	VI             JobType = "Volontariat International (French Citizen)"
)

Job type constants

type Provider

type Provider interface {
	// RetrieveJobs starts the jobs scraping
	//
	// This call is blocking and calling the function argument synchronously
	RetrieveJobs(func(job *Job)) error
}

Provider is able to scrap jobs from a specific website

func GetProviders

func GetProviders() []Provider

GetProviders return a complete list of available providers

func New3M

func New3M() Provider

New3M returns a new provider

func NewAdobe

func NewAdobe() Provider

NewAdobe returns a new provider

func NewAgoda

func NewAgoda() Provider

NewAgoda returns a new provider

func NewAirbnb

func NewAirbnb() Provider

NewAirbnb returns a new provider

func NewAmazon

func NewAmazon() Provider

NewAmazon returns a new provider

func NewAppLovin

func NewAppLovin() Provider

NewAppLovin returns a new provider

func NewBabylist

func NewBabylist() Provider

NewBabylist returns a new provider

func NewBeekeeper

func NewBeekeeper() Provider

NewBeekeeper returns a new provider

func NewBetclic

func NewBetclic() Provider

NewBetclic returns a new provider

func NewBlizzard

func NewBlizzard() Provider

NewBlizzard returns a new provider

func NewBlockchain

func NewBlockchain() Provider

NewBlockchain returns a new provider

func NewBonobos

func NewBonobos() Provider

NewBonobos returns a new provider

func NewBooking

func NewBooking() Provider

NewBooking returns a new provider

func NewBox

func NewBox() Provider

NewBox returns a new provider

func NewBraintree

func NewBraintree() Provider

NewBraintree returns a new provider

func NewBritAndCo

func NewBritAndCo() Provider

NewBritAndCo returns a new provider

func NewBuzzfeed

func NewBuzzfeed() Provider

NewBuzzfeed returns a new provider

func NewCampaignMonitor

func NewCampaignMonitor() Provider

NewCampaignMonitor returns a new provider

func NewCarousell

func NewCarousell() Provider

NewCarousell returns a new provider

func NewCarta

func NewCarta() Provider

NewCarta returns a new provider

func NewCarvana

func NewCarvana() Provider

NewCarvana returns a new provider

func NewCasper

func NewCasper() Provider

NewCasper returns a new provider

func NewChartboost

func NewChartboost() Provider

NewChartboost returns a new provider

func NewCiviweb

func NewCiviweb() Provider

NewCiviweb returns a new provider

func NewCiviwebLatest

func NewCiviwebLatest() Provider

NewCiviwebLatest returns a new provider

func NewClassPass

func NewClassPass() Provider

NewClassPass returns a new provider

func NewClassy

func NewClassy() Provider

NewClassy returns a new provider

func NewClimb

func NewClimb() Provider

NewClimb returns a new provider

func NewCommerceHub

func NewCommerceHub() Provider

NewCommerceHub returns a new provider

func NewConfluent

func NewConfluent() Provider

NewConfluent returns a new provider

func NewCoupang

func NewCoupang() Provider

NewCoupang returns a new provider

func NewCourseHero

func NewCourseHero() Provider

NewCourseHero returns a new provider

func NewCoursera

func NewCoursera() Provider

NewCoursera returns a new provider

func NewCuralate

func NewCuralate() Provider

NewCuralate returns a new provider

func NewCurrent

func NewCurrent() Provider

NewCurrent returns a new provider

func NewDell

func NewDell() Provider

NewDell returns a new provider

func NewDigitalOcean

func NewDigitalOcean() Provider

NewDigitalOcean returns a new provider

func NewDisney

func NewDisney() Provider

NewDisney returns a new provider

func NewDoctrine

func NewDoctrine() Provider

NewDoctrine returns a new provider

func NewDocusign

func NewDocusign() Provider

NewDocusign returns a new provider

func NewDoorDash

func NewDoorDash() Provider

NewDoorDash returns a new provider

func NewDukeEnergy

func NewDukeEnergy() Provider

NewDukeEnergy returns a new provider

func NewERM

func NewERM() Provider

NewERM returns a new provider

func NewEero

func NewEero() Provider

NewEero returns a new provider

func NewEmbark

func NewEmbark() Provider

NewEmbark returns a new provider

func NewEnvato

func NewEnvato() Provider

NewEnvato returns a new provider

func NewEventBrite

func NewEventBrite() Provider

NewEventBrite returns a new provider

func NewEvernote

func NewEvernote() Provider

NewEvernote returns a new provider

func NewExpa

func NewExpa() Provider

NewExpa returns a new provider

func NewFico

func NewFico() Provider

NewFico returns a new provider

func NewFitbit

func NewFitbit() Provider

NewFitbit returns a new provider

func NewFlextronics

func NewFlextronics() Provider

NewFlextronics returns a new provider

func NewGamestop

func NewGamestop() Provider

NewGamestop returns a new provider

func NewGenius

func NewGenius() Provider

NewGenius returns a new provider

func NewGiphy

func NewGiphy() Provider

NewGiphy returns a new provider

func NewGithub

func NewGithub() Provider

NewGithub returns a new provider

func NewGranular

func NewGranular() Provider

NewGranular returns a new provider

func NewGreenhouse

func NewGreenhouse() Provider

NewGreenhouse returns a new provider

func NewGumGum

func NewGumGum() Provider

NewGumGum returns a new provider

func NewGusto

func NewGusto() Provider

NewGusto returns a new provider

func NewHandshake

func NewHandshake() Provider

NewHandshake returns a new provider

func NewHelix

func NewHelix() Provider

NewHelix returns a new provider

func NewHottopic

func NewHottopic() Provider

NewHottopic returns a new provider

func NewIbotta

func NewIbotta() Provider

NewIbotta returns a new provider

func NewImoDotIm

func NewImoDotIm() Provider

NewImoDotIm returns a new provider

func NewInterCom

func NewInterCom() Provider

NewInterCom returns a new provider

func NewJWPlayer

func NewJWPlayer() Provider

NewJWPlayer returns a new provider

func NewJauntVR

func NewJauntVR() Provider

NewJauntVR returns a new provider

func NewJourny

func NewJourny() Provider

NewJourny returns a new provider

func NewJustworks

func NewJustworks() Provider

NewJustworks returns a new provider

func NewKering

func NewKering() Provider

NewKering returns a new provider

func NewKespry

func NewKespry() Provider

NewKespry returns a new provider

func NewKickStarter

func NewKickStarter() Provider

NewKickStarter returns a new provider

func NewLever

func NewLever() Provider

NewLever returns a new provider

func NewLinuxFoundation

func NewLinuxFoundation() Provider

NewLinuxFoundation returns a new provider

func NewLob

func NewLob() Provider

NewLob returns a new provider

func NewLogitech

func NewLogitech() Provider

NewLogitech returns a new provider

func NewLookout

func NewLookout() Provider

NewLookout returns a new provider

func NewMagicLeap

func NewMagicLeap() Provider

NewMagicLeap returns a new provider

func NewMagnetic

func NewMagnetic() Provider

NewMagnetic returns a new provider

func NewMalwarebytes

func NewMalwarebytes() Provider

NewMalwarebytes returns a new provider

func NewMassdrop

func NewMassdrop() Provider

NewMassdrop returns a new provider

func NewMastercard

func NewMastercard() Provider

NewMastercard returns a new provider

func NewMedium

func NewMedium() Provider

NewMedium returns a new provider

func NewMetromile

func NewMetromile() Provider

NewMetromile returns a new provider

func NewMixpanel

func NewMixpanel() Provider

NewMixpanel returns a new provider

func NewMongoDB

func NewMongoDB() Provider

NewMongoDB returns a new provider

func NewNYTimes

func NewNYTimes() Provider

NewNYTimes returns a new provider

func NewNerdwallet

func NewNerdwallet() Provider

NewNerdwallet returns a new provider

func NewNetflix

func NewNetflix() Provider

NewNetflix returns a new provider

func NewNetskope

func NewNetskope() Provider

NewNetskope returns a new provider

func NewNintendo

func NewNintendo() Provider

NewNintendo returns a new provider

func NewNoom

func NewNoom() Provider

NewNoom returns a new provider

func NewNpmjs

func NewNpmjs() Provider

NewNpmjs returns a new provider

func NewOath

func NewOath() Provider

NewOath returns a new provider

func NewOmadaHealth

func NewOmadaHealth() Provider

NewOmadaHealth returns a new provider

func NewOseberg

func NewOseberg() Provider

NewOseberg returns a new provider

func NewOutreach

func NewOutreach() Provider

NewOutreach returns a new provider

func NewPDTPartners

func NewPDTPartners() Provider

NewPDTPartners returns a new provider

func NewPager

func NewPager() Provider

NewPager returns a new provider

func NewPaloAltoNetworks

func NewPaloAltoNetworks() Provider

NewPaloAltoNetworks returns a new provider

func NewPatreon

func NewPatreon() Provider

NewPatreon returns a new provider

func NewPayoff

func NewPayoff() Provider

NewPayoff returns a new provider

func NewPeek

func NewPeek() Provider

NewPeek returns a new provider

func NewPersado

func NewPersado() Provider

NewPersado returns a new provider

func NewPicarro

func NewPicarro() Provider

NewPicarro returns a new provider

func NewPiktochart

func NewPiktochart() Provider

NewPiktochart returns a new provider

func NewPindrop

func NewPindrop() Provider

NewPindrop returns a new provider

func NewPinterest

func NewPinterest() Provider

NewPinterest returns a new provider

func NewPocketGems

func NewPocketGems() Provider

NewPocketGems returns a new provider

func NewPokemon

func NewPokemon() Provider

NewPokemon returns a new provider

func NewPostmates

func NewPostmates() Provider

NewPostmates returns a new provider

func NewPureStorage

func NewPureStorage() Provider

NewPureStorage returns a new provider

func NewQualtrics

func NewQualtrics() Provider

NewQualtrics returns a new provider

func NewQuantifind

func NewQuantifind() Provider

NewQuantifind returns a new provider

func NewRallyHealth

func NewRallyHealth() Provider

NewRallyHealth returns a new provider

func NewRapid7

func NewRapid7() Provider

NewRapid7 returns a new provider

func NewRollsRoyce

func NewRollsRoyce() Provider

NewRollsRoyce returns a new provider

func NewRosettaStone

func NewRosettaStone() Provider

NewRosettaStone returns a new provider

func NewSalesforce

func NewSalesforce() Provider

NewSalesforce returns a new provider

func NewSamsung

func NewSamsung() Provider

NewSamsung returns a new provider

func NewSanofi

func NewSanofi() Provider

NewSanofi returns a new provider

func NewScribd

func NewScribd() Provider

NewScribd returns a new provider

func NewShipHawk

func NewShipHawk() Provider

NewShipHawk returns a new provider

func NewSignpost

func NewSignpost() Provider

NewSignpost returns a new provider

func NewSimpleFinance

func NewSimpleFinance() Provider

NewSimpleFinance returns a new provider

func NewSkookum

func NewSkookum() Provider

NewSkookum returns a new provider

func NewSmarkets

func NewSmarkets() Provider

NewSmarkets returns a new provider

func NewSoundcloud

func NewSoundcloud() Provider

NewSoundcloud returns a new provider

func NewSplash

func NewSplash() Provider

NewSplash returns a new provider

func NewSpredfast

func NewSpredfast() Provider

NewSpredfast returns a new provider

func NewSquarespace

func NewSquarespace() Provider

NewSquarespace returns a new provider

func NewStackCommerce

func NewStackCommerce() Provider

NewStackCommerce returns a new provider

func NewStrait

func NewStrait() Provider

NewStrait returns a new provider

func NewStrava

func NewStrava() Provider

NewStrava returns a new provider

func NewSurveymonkey

func NewSurveymonkey() Provider

NewSurveymonkey returns a new provider

func NewTakealot

func NewTakealot() Provider

NewTakealot returns a new provider

func NewTeralytics

func NewTeralytics() Provider

NewTeralytics returns a new provider

func NewThales

func NewThales() Provider

NewThales returns a new provider

func NewTheSourcery

func NewTheSourcery() Provider

NewTheSourcery returns a new provider

func NewTheWorkingGroup

func NewTheWorkingGroup() Provider

NewTheWorkingGroup returns a new provider

func NewThumbtack

func NewThumbtack() Provider

NewThumbtack returns a new provider

func NewTrackMaven

func NewTrackMaven() Provider

NewTrackMaven returns a new provider

func NewTrafigura

func NewTrafigura() Provider

NewTrafigura returns a new provider

func NewTrainline

func NewTrainline() Provider

NewTrainline returns a new provider

func NewTripAdvisor

func NewTripAdvisor() Provider

NewTripAdvisor returns a new provider

func NewTrueMotion

func NewTrueMotion() Provider

NewTrueMotion returns a new provider

func NewTwilio

func NewTwilio() Provider

NewTwilio returns a new provider

func NewTwitch

func NewTwitch() Provider

NewTwitch returns a new provider

func NewTwitter

func NewTwitter() Provider

NewTwitter returns a new provider

func NewUdemy

func NewUdemy() Provider

NewUdemy returns a new provider

func NewUnity

func NewUnity() Provider

NewUnity returns a new provider

func NewUniversityOfChicago

func NewUniversityOfChicago() Provider

NewUniversityOfChicago returns a new provider

func NewUniversityOfNevadaReno

func NewUniversityOfNevadaReno() Provider

NewUniversityOfNevadaReno returns a new provider

func NewVaynerMedia

func NewVaynerMedia() Provider

NewVaynerMedia returns a new provider

func NewVimeo

func NewVimeo() Provider

NewVimeo returns a new provider

func NewVinted

func NewVinted() Provider

NewVinted returns a new provider

func NewVirtaHealth

func NewVirtaHealth() Provider

NewVirtaHealth returns a new provider

func NewWarbyParker

func NewWarbyParker() Provider

NewWarbyParker returns a new provider

func NewWhittard

func NewWhittard() Provider

NewWhittard returns a new provider

func NewWistia

func NewWistia() Provider

NewWistia returns a new provider

func NewWorkday

func NewWorkday() Provider

NewWorkday returns a new provider

func NewZanbato

func NewZanbato() Provider

NewZanbato returns a new provider

func NewZype

func NewZype() Provider

NewZype returns a new provider

func ProviderFromName

func ProviderFromName(name string) Provider

ProviderFromName returns a provider from its name

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL