{"id":14070815,"url":"https://github.com/tankalxat34/vbaRequests","last_synced_at":"2025-07-30T08:32:42.439Z","repository":{"id":114597792,"uuid":"470355645","full_name":"tankalxat34/vbaRequests","owner":"tankalxat34","description":"The simple module for making requests to websites on VBA Excel","archived":false,"fork":false,"pushed_at":"2022-04-01T06:45:20.000Z","size":51,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-13T07:18:19.867Z","etag":null,"topics":["excel","excel-vba","requests","requests-module","vba","vba-excel","vba-requests","vbarequests"],"latest_commit_sha":null,"homepage":"","language":"VBA","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/tankalxat34.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-15T22:49:42.000Z","updated_at":"2022-06-14T22:21:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ab4a23b-4a14-4feb-ba13-17a6537a9eea","html_url":"https://github.com/tankalxat34/vbaRequests","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tankalxat34%2FvbaRequests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tankalxat34%2FvbaRequests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tankalxat34%2FvbaRequests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tankalxat34%2FvbaRequests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tankalxat34","download_url":"https://codeload.github.com/tankalxat34/vbaRequests/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228110842,"owners_count":17871245,"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":["excel","excel-vba","requests","requests-module","vba","vba-excel","vba-requests","vbarequests"],"created_at":"2024-08-13T07:08:06.670Z","updated_at":"2024-12-04T12:32:21.025Z","avatar_url":"https://github.com/tankalxat34.png","language":"VBA","funding_links":[],"categories":["VBA"],"sub_categories":[],"readme":"# vbaRequests\n\u003cimg src=\"https://raw.githubusercontent.com/tankalxat34/vba-ip-validation/readme_content/icon_word.svg\" width=\"40px\"/\u003e \u003cimg src=\"https://raw.githubusercontent.com/tankalxat34/vba-ip-validation/readme_content/icon_excel.svg\" width=\"40px\"/\u003e \u003cimg src=\"https://raw.githubusercontent.com/tankalxat34/vba-ip-validation/readme_content/icon_powerpoint.svg\" width=\"40px\"/\u003e\n\n![GitHub top language](https://img.shields.io/github/languages/top/tankalxat34/vbaRequests)\n![GitHub](https://img.shields.io/github/license/tankalxat34/vbaRequests?logo=github\u0026logoColor=white)\n\nThe simple module for making requests to websites\n\nAuthor: **[tankalxat34](https://github.com/tankalxat34)**\n\n# Installation\n[![test](https://img.shields.io/badge/-download-brightgreen?style=for-the-badge)](https://github.com/tankalxat34/vbaRequests/raw/main/vbaRequests.bas)\n\n1. Download **[this file](https://github.com/tankalxat34/vbaRequests/raw/main/vbaRequests.bas)** or click to \"DOWNLOAD\" button.\n2. Open your Microsoft Excel Book and in window `\"Project - VBAProject\"` click on free place and than *\"Import file\"*.\n3. Choice the downloaded file.\n4. Enjoy.\n\n# Information about \"request\" public function\n\n|     Parameter     |            Type             |                                  Description                                  |\n|-------------------|-----------------------------|-------------------------------------------------------------------------------|\n| sURL              | String                      | The string URL of web-site                                                    |\n| headersDictionary | Object Scripting.Dictionary | A dictionary containing headers for making a successful request to a website. You can set the headers yourself, or use the \"createHeaders\" function to automatically apply default headers to your request                                             |\n| username          | String                      | String containing your username for login in website                          |\n| password          | String                      | String containing your password or token for login in website                 |\n| typeRequest       | String                      | String of type for request: \"GET\", \"POST\", \"PUT\" and other types              |\n\n# Example\n## Get your own IP\nThis code will show you your IP address\n```vb\nSub helloworld()\n    Dim userIP As String\n    userIP = vbaRequests.request(\"https://ifconfig.me/ip\")\n    MsgBox userIP\nEnd Sub\n```\n\n## Response from GitHub\n```vb\nSub githubResponse()\n    Debug.Print vbaRequests.request(\"https://api.github.com/users/tankalxat34\", _\n            vbaRequests.createHeaders(), _\n            \"tankalxat34\", \"YOUR_TOKEN\", _\n            \"GET\")\nEnd Sub\n```\n\n## Response from [WGMods.net](https://wgmods.net)\nCode:\n```vb\nSub get_response()\n    Dim headers As Object\n    Set headers = CreateObject(\"Scripting.Dictionary\")\n    headers.Add \"x-csrftoken\", \"NG97PVrI2orqk2UvBXyFB9GpHCNGHHFbbrRJogqbwFCEgTNoLsD383orPnQrq4wb\"\n    headers.Add \"x-requested-with\", \"XMLHttpRequest\"\n\n    Debug.Print vbaRequests.request(\"https://wgmods.net/api/mods/2548/\", vbaRequests.createHeaders(headers))\nEnd Sub\n```\n\n**[Response from server here](https://github.com/tankalxat34/vbaRequests/blob/examples/wgmods_response.json)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftankalxat34%2FvbaRequests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftankalxat34%2FvbaRequests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftankalxat34%2FvbaRequests/lists"}