# Flickr::API::People - Perl interface to the Flickr API's flickr.people.... - perldoc - [phpMan]

## NAME
    [Flickr::API::People](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI%3A%3APeople/markdown) - Perl interface to the Flickr API's flickr.people.* methods.

## SYNOPSIS
      use [Flickr::API::People](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI%3A%3APeople/markdown);

      my $api = [Flickr::API::People](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI%3A%3APeople/markdown)->new({'consumer_key' => 'your_api_key'});

    or

      my $api = [Flickr::API::People](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI%3A%3APeople/markdown)->import_storable_config($config_file);

## DESCRIPTION
    This object encapsulates the flickr people methods.

    "[Flickr::API::People](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI%3A%3APeople/markdown)" is a subclass of [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown), so you can access Flickr's people
    information easily.

## SUBROUTINES/METHODS
### findByEmail
        Populates user info with that found for the given email

### findByUsername
        Populates user info with that found for the given username

### perms
        Returns the permission returned by checking this supplied token

    "perms_caller"
        Returns the username for which the permission applies

    "perms_token"
        Returns the token for which the permission applies

    "perms_nsid"
        Returns the nsid for which the permission applies

### nsid
        Returns the nsid of the supplied mail or username

### username
        Returns the username of the supplied mail or username

## LICENSE AND COPYRIGHT
    Copyright (C) 2015-2016, Louis B. Moore

    This program is released under the Artistic License 2.0 by The Perl Foundation.

    Original version was Copyright (C) 2005 Nuno Nunes, "<<nfmnunes@cpan.org>>" This version is much
    changed and built on the [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown) as it appears in 2015. Many thanks to Nuno Nunes for
    getting this ball rolling.

## SEE ALSO
    [Flickr::API](https://www.chedong.com/phpMan.php/perldoc/Flickr%3A%3AAPI/markdown). Flickr <<http://www.flickr.com/>>, <<http://www.flickr.com/services/api/>>
    <<https://github.com/iamcal/perl-Flickr-API>>

