{"id":15505385,"url":"https://github.com/lekoarts/gatsby-source-behance","last_synced_at":"2025-04-23T01:37:43.862Z","repository":{"id":57244925,"uuid":"111119807","full_name":"LekoArts/gatsby-source-behance","owner":"LekoArts","description":"Gatsby source plugin for loading information from Behance","archived":false,"fork":false,"pushed_at":"2019-02-06T10:48:30.000Z","size":79,"stargazers_count":15,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-02T01:47:25.170Z","etag":null,"topics":["behance","gatsby","gatsby-plugin","gatsby-source","gatsby-source-behance"],"latest_commit_sha":null,"homepage":"https://behance-example.netlify.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LekoArts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-17T15:35:23.000Z","updated_at":"2023-05-12T16:49:20.000Z","dependencies_parsed_at":"2022-09-01T06:12:09.257Z","dependency_job_id":null,"html_url":"https://github.com/LekoArts/gatsby-source-behance","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fgatsby-source-behance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fgatsby-source-behance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fgatsby-source-behance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LekoArts%2Fgatsby-source-behance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LekoArts","download_url":"https://codeload.github.com/LekoArts/gatsby-source-behance/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354270,"owners_count":21416747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["behance","gatsby","gatsby-plugin","gatsby-source","gatsby-source-behance"],"created_at":"2024-10-02T09:23:09.041Z","updated_at":"2025-04-23T01:37:43.839Z","avatar_url":"https://github.com/LekoArts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-source-behance\n\u003e Gatsby.js source plugin for loading information from Behance\n\nLearn more about [Gatsby](https://www.gatsbyjs.org/) and its plugins here: [https://www.gatsbyjs.org/docs/plugins/](https://www.gatsbyjs.org/docs/plugins/)\n\n**See it in live action on the [example site](https://behance-example.netlify.com/)!**\n[Source Code](https://github.com/LeKoArts/gatsby-source-behance-example) for the example site.\n\n## Install\n\n```bash\nnpm install gatsby-source-behance\n```\n\n## How to use\n\n```Javascript\n// In your gatsby-config.js\nplugins: [\n    {\n        resolve: `gatsby-source-behance`,\n        options: {\n            // Visit your profile and grab the name after behance.net/\u003c\u003c username \u003e\u003e\n            username: '\u003c\u003c Your username \u003e\u003e',\n            // You can get your API Key here: https://www.behance.net/dev/register\n            apiKey: '\u003c\u003c API Key \u003e\u003e',\n        }\n    }\n]\n```\n\n## GraphQL Queries\n\nTo see all possible queries please use the GraphiQL editor which is available under ``http://localhost:8000/___graphql``\n\n### Get all projects (of the user specified in the config):\n\n```graphql\n{\n    allBehanceProjects {\n        edges {\n            node {\n                name\n                projectID\n                published\n                created\n                modified\n                conceived\n                url\n                privacy\n                areas\n                tags\n                description\n                tools\n                styles\n                covers {\n                    size_original\n                }\n                owners\n                stats {\n                    views\n                    appreciations\n                    comments\n                }\n                modules {\n                    sizes {\n                        size_original\n                    }\n                }\n            }\n        }\n    }\n}\n```\n_This example query fetches the information about the project and the respective images the project has_\n\n### Get all user information:\n\n```graphql\n{\n    behanceUser {\n        names {\n            displayName\n            firstName\n            lastName\n            username\n        }\n        userID\n        url\n        website\n        avatar\n        company\n        place {\n            city\n            state\n            country\n            location\n        }\n        areas\n        stats {\n            followers\n            following\n            appreciations\n            views\n            comments\n            team_members\n        }\n        links {\n            title\n            url\n        }\n        sections\n        socialMedia {\n            social_id\n            url\n            service_name\n            value\n        }\n    }\n}\n```\n\n### Get all collections (of the user specified in the config):\n\n```graphql\n{\n    allBehanceAppreciations {\n        edges {\n            node {\n                id\n                projectID\n                name\n                projectCount\n                data\n                public\n                created\n                updated\n                modified\n                url\n                covers {\n                    size2 {\n                        url\n                    }\n                    size3 {\n                        url\n                    }\n                }\n                owners {\n                    username\n                    city\n                }\n                isOwner\n                isCoOwner\n                multipleOwners\n                galleryText\n                stats\n                creatorID\n                userID\n                projects {\n                    id\n                    name\n                    published_on\n                    created_on\n                    modified_on\n                    url\n                    fields\n                    covers {\n                        size_original\n                    }\n                }\n            }\n        }\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flekoarts%2Fgatsby-source-behance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flekoarts%2Fgatsby-source-behance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flekoarts%2Fgatsby-source-behance/lists"}