Skip to content

Commit

Permalink
Add Get for Search by location name (#972)
Browse files Browse the repository at this point in the history
* Add Get for Search by location name

* clean some trailing whitespace Sorry :)

* clean
  • Loading branch information
beshoo authored Oct 13, 2021
1 parent 83eb826 commit dcf7dd7
Showing 1 changed file with 108 additions and 1 deletion.
109 changes: 108 additions & 1 deletion src/InstagramScraper/Model/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@ class Location extends AbstractModel
'lat' => 'lat',
'lng' => 'lng',
'profile_pic_url' => 'profilePicUrl',
'modified' => 'modified'
'modified' => 'modified',
'pk' => 'pk',
'short_name' => 'short_name',
'external_source' => 'external_source',
'address' => 'address',
'city' => 'city',
'has_viewer_saved' => 'has_viewer_saved',
'lng' => 'lng',
'lat' => 'lat',
'facebook_places_id' => 'facebook_places_id',
];
/**
* @var
Expand Down Expand Up @@ -56,6 +65,44 @@ class Location extends AbstractModel
*/
protected $modified;

/**
* @var
*/
protected $pk;

/**
* @var
*/
protected $short_name;

/**
* @var
*/
protected $facebook_places_id;


/**
* @var
*/
protected $external_source;

/**
* @var
*/
protected $address;

/**
* @var
*/
protected $city;

/**
* @var
*/
protected $has_viewer_saved;



/**
* @return mixed
*/
Expand Down Expand Up @@ -118,4 +165,64 @@ public function getModified()
{
return $this->modified;
}

/**
* @return mixed
*/
public function getPk()
{
return $this->pk;
}


/**
* @return mixed
*/
public function getShortNname()
{
return $this->short_name;
}

/**
* @return mixed
*/
public function getFacebookPlacesId()
{
return $this->facebook_places_id;
}


/**
* @return mixed
*/
public function externalSource()
{
return $this->external_source;
}


/**
* @return mixed
*/
public function getAddress()
{
return $this->address;
}

/**
* @return mixed
*/
public function getCity()
{
return $this->city;
}

/**
* @return mixed
*/
public function isHasViewerSaved()
{
return $this->has_viewer_saved;
}

}

0 comments on commit dcf7dd7

Please sign in to comment.