{"id":16674479,"url":"https://github.com/settermjd/sendgrid-import-retrieve-with-php","last_synced_at":"2025-07-31T09:40:31.314Z","repository":{"id":141498462,"uuid":"612237673","full_name":"settermjd/sendgrid-import-retrieve-with-php","owner":"settermjd","description":"This is a small project to support an upcoming tutorial on the SendGrid blog, that shows how to import a contact into a SendGrid account, and to then retrieve that contact's details, after it's been successfully imported.","archived":false,"fork":false,"pushed_at":"2023-03-10T14:00:08.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-13T03:16:09.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/settermjd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-10T13:52:21.000Z","updated_at":"2023-12-06T11:53:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ad91d60-fc07-46e5-9f95-950094d710d4","html_url":"https://github.com/settermjd/sendgrid-import-retrieve-with-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/settermjd/sendgrid-import-retrieve-with-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settermjd%2Fsendgrid-import-retrieve-with-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settermjd%2Fsendgrid-import-retrieve-with-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settermjd%2Fsendgrid-import-retrieve-with-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settermjd%2Fsendgrid-import-retrieve-with-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/settermjd","download_url":"https://codeload.github.com/settermjd/sendgrid-import-retrieve-with-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settermjd%2Fsendgrid-import-retrieve-with-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268017357,"owners_count":24181669,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-12T12:43:20.677Z","updated_at":"2025-07-31T09:40:31.272Z","avatar_url":"https://github.com/settermjd.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Show how to import and retrieve a contact with SendGrid's API\n\nThis is a small project to support an upcoming tutorial on the SendGrid blog, that shows how to import a contact into a SendGrid account, and to then retrieve that contact's details, after it's been successfully imported.\n\n## Usage\n\nTo use the project, first clone it locally, change into the newly created project directory, and install PHP's dependencies, by running the following commands.\n\n```bash\ngit clone git@github.com:settermjd/sendgrid-import-retrieve-with-php.git\ncd sendgrid-import-retrieve-with-php\ncomposer update\n```\n\nAfter Composer installs PHP's dependencies, it creates a new _.env_ file, where the application's environment variables are stored.\nThere's only one, `SENDGRID_API_KEY`. \nYou need to set this to your SendGrid API key.\nTo create one, open https://app.sendgrid.com/settings/api_keys in your preferred browser, click **Create API Key**, and follow the prompts.\nMore information is available [in the documentation](https://docs.sendgrid.com/ui/account-and-settings/api-keys). \nA concise guide will be available in the tutorial, when it's available.\n\nAfter setting your SendGrid API key, in the terminal, in the top-level directory of the project, run the following commands:\n\n```bash\n# Import a contact\nphp import-contact.php\n\n# Retrieve the contact's details, if it has been successfully imported.\nphp retrieve-contact.php\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsettermjd%2Fsendgrid-import-retrieve-with-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsettermjd%2Fsendgrid-import-retrieve-with-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsettermjd%2Fsendgrid-import-retrieve-with-php/lists"}