diff --git a/README.md b/README.md index 56f2f88..367fce8 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,32 @@ Example async function doSomething() { const response = await MXIKSearch('search query', { limit: 10 }) } + + async function doAnother() { + const response = await MXIKSearchByCode('06109001001000000', { limit: 10 }) + } ``` +## Examples + +### Search items + +```js +async function doSomething() { + const response = await MXIKSearch('search query', { limit: 10 }) +} +``` + + +### Get items by mxik code + +```js +async function doSomething() { + const response = await MXIKSearchByCode('06109001001000000', { limit: 10 }) +} +``` ## API