{"id":17134342,"url":"https://github.com/brianium/wallaby","last_synced_at":"2025-03-24T06:16:30.573Z","repository":{"id":57714094,"uuid":"64077549","full_name":"brianium/wallaby","owner":"brianium","description":"Use the Walmart Open API from Clojure","archived":false,"fork":false,"pushed_at":"2016-07-25T02:54:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T05:56:28.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brianium.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":"2016-07-24T17:35:52.000Z","updated_at":"2016-07-24T17:56:14.000Z","dependencies_parsed_at":"2022-09-26T21:31:11.365Z","dependency_job_id":null,"html_url":"https://github.com/brianium/wallaby","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/brianium%2Fwallaby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianium%2Fwallaby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianium%2Fwallaby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brianium%2Fwallaby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brianium","download_url":"https://codeload.github.com/brianium/wallaby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245217945,"owners_count":20579300,"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":[],"created_at":"2024-10-14T19:44:40.033Z","updated_at":"2025-03-24T06:16:30.534Z","avatar_url":"https://github.com/brianium.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"#wallaby\n\n[![Clojars Project](https://img.shields.io/clojars/v/wallaby.svg)](https://clojars.org/wallaby)\n\nA Clojure library designed to simplify working with the Walmart Open API\n\n## Installation\n\nAdd the following dependency to your `project.clj` file:\n\n```\n[wallaby \"0.2.0\"]\n```\n\n## Usage\n\n```clojure\n(ns my-walmart.app\n  (:require [wallaby.core :refer :all]))\n\n;; Product Lookup Operation\n(def result (product-lookup {:apiKey \"my-api-key\"\n                             :upc    \"035000521019\"}))\n\n;; results are futures containing response as a map\n(def realized @result);\n```\n\n## Functions\n\nThe main function is `request`. All functions are a specialization of this function.\n\n### `request`\n\n```clojure\n(defn request\n  ([api params config] ,,,)\n  ([api params] (request api params {})))\n\n```\n\n* `api` is a string representing the Walmart API of interest - i.e \"items\"\n* `params` is a map that will be converted straight to query params\n* `config` is an optional map that gets fed right to [http-kit](http://www.http-kit.org/client.html)\n\nThere is currently one specialized function `product-lookup` which fills in the \"items\" api in the `request` function\n\n```clojure\n(defn product-lookup\n  ([params config] (request \"items\" params config))\n  ([params] (requeset \"items\" params)))\n```\n\n`request` has a single pre-condition defined to ensure the presence of the `:apiKey` key on the `params` map.\n\n## License\n\nCopyright © 2016 Brian Scaturro\n\nDistributed under the Eclipse Public License, the same as Clojure\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianium%2Fwallaby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrianium%2Fwallaby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrianium%2Fwallaby/lists"}