diff --git a/README.md b/README.md index 220a9c6..7baddbc 100644 --- a/README.md +++ b/README.md @@ -33,21 +33,23 @@ File size. ("small", "med", "full"). ```javascript var thecatapi = require('thecatapi-helper') + // just an simple link with no api, no argument -var simple_link = thecatapi.linkbuilder(); -console.log(simple_link); +var simpleLink = thecatapi.linkbuilder() +console.log(simpleLink) // with category and api -var normal_link = thecatapi.linkbuilder('caturday','MTM1MDM1'); -console.log(normal_link); +var normalLink = thecatapi.linkbuilder('caturday', 'MTM1MDM1') +console.log(normalLink) // link with category, api, file type ,size, -var very_customize_link1 = thecatapi.linkbuilder('caturday','MTM1MDM1','jpg','full'); -var very_customize_link2 = thecatapi.linkbuilder('caturday','MTM1MDM1','png','med'); -var very_customize_link3 = thecatapi.linkbuilder('caturday','MTM1MDM1','gif','small'); -console.log(very_customize_link1); -console.log(very_customize_link2); -console.log(very_customize_link3); +var customizeLink1 = thecatapi.linkbuilder('caturday', 'MTM1MDM1', 'jpg', 'full') +var customizeLink2 = thecatapi.linkbuilder('caturday', 'MTM1MDM1', 'png', 'med') +var customizeLink3 = thecatapi.linkbuilder('caturday', 'MTM1MDM1', 'gif', 'small') +console.log(customizeLink1) +console.log(customizeLink2) +console.log(customizeLink3) + ``` ### Disclaimer: I am not author nor partner of http://thecatapi.com/ , but a cat lover.