List groups

Groups you belong to, with member count and whether you can add photos.

GET https://cotlet.dev/api/v1/flickr/groups

read

Returns the Flickr groups your account belongs to, with the member count and whether the group lets you add photos. A group can also hold photos for approval by its admins, which is shown on each item. Use group_id in add_photo_to_group.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/flickr/groups \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("flickr", "list_groups")
Node.js
const result = await cotlet.call('flickr', 'list_groups');
CLI
cotlet call flickr list_groups

Example response

JSON

{
  "groups": [
    {
      "group_id": "1234567@N20",
      "name": "Street Lisbon",
      "members": 3120,
      "can_add_photos": true,
      "moderated": false
    },
    {
      "group_id": "7654321@N22",
      "name": "Urban Light",
      "members": 18450,
      "can_add_photos": true,
      "moderated": true
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.