•   about 11 years ago

What is an Add-On

I am interested in this contest. The more I read about it on this site, rules, and sample codes... I am wondering. What is an Add-On? Is it a website page that I need to host it somewhere? or can it be a small app (android in my case) that will extract the information from Lemon and do something with it? Thanks for the reply in advance.

Robert

  • 11 comments

  •   •   about 11 years ago

    Hi Robert,

    Thanks a lot for your interest in the challenge, and for your question. Here is some more info on what's an add-on:
    http://lemon.com/platform/documentation/api/add-ons/

    Let us know if you have any other questions and we'll be glad to help out.

    Thanks,
    - Bel

  •   •   about 11 years ago

    Hi Bell,
    Thank you for the link, but I already read this information and I still have questions. The contest is to create an Add-On for your company/merchant? This Add-On will allow you to see/retrieve your customers' receipts only or you can see other customers' receipts from Lemon's database?

    Sorry, if I am not understanding, but I am very interested in this product and contest.

    Robert

  •   •   about 11 years ago

    Hi Bel,
    Another question on this subject. How the add-on will be tested? Should it be fully-functional application or some level of mock-up is acceptable?
    Thanks in advance,
    Maxim

  •   •   about 11 years ago

    (Maxim read my mind)
    I was about to ask the same question. After you finish with your Add-On, do we need to publish it on a test environment or just go ahead and publish it and have everyone to see it?

    Robert J.

  •   •   about 11 years ago

    Hi Maxim and Robert,

    Thanks a lot for your questions. Let me clarify some points, but please feel free to let me know any questions you may have.

    Add-on: the add-on is simply a mobile-optimized site, that we want to make available for all Lemon users, loading it inside the Lemon app. Too see an example, download Lemon, sign in, click 'Add' on the lower left, and install Simple Cards. You will see that a new 'card' appears in your Lemon Wallet -- Simple Cards -- and by clicking on it we load a web page that lets you select from your favorite programs, such as American Airlines and Best Buy. This same experience would happen with your add-on, but the site we would load would be the one that you send to us when you register your add-on in lemon.com/platform .

    In terms of what you can build: this is a very open challenge. We want you to create cool services that (1) use Lemon APIs and/or (2) add value to Lemon users. For example, on (1), you can use the receipt data to see what food items people are buying and suggest recipes based on that. Or, on (2), you can create a site that lets people select stocks to follow and you can display information about the stocks. Or, even more simple, you can create a site that has a different quote about money every day, to make people smile/learn about money.

    Since the add-on is nothing more than a website being loaded within Lemon, you can test it on any web browser. If you are putting it on www.yoursite.com/lemon, you should be able to test it in the browser, and see the experience. For add-ons that access Lemon APIs, you will need to access data from users during development. You can generate Sandbox users at https://platform.lemon.com/admin/sandboxUsers/, for which you will have access to their user tokens right away. Then, to see how the add-on looks and works before publishing it, you can install the add-on by using the Set Add-on API call on any of your Sandbox users. (http://lemon.com/platform/documentation/api/add-ons/add-on-set/)

    Let me know if that helps. Glad to clarify any other questions you may have.

    Thank you,
    - Bel

  •   •   about 11 years ago

    Bel,
    this is great and useful information. A follow up question, how are we going to get the User Token ID after being published? For the sandbox users, we already know the token, but in the future, how are we going to get the user token?

    Thanks

    Robert J

  •   •   about 11 years ago

    Bel,
    I follow the instructions to Add a Smart Card to a SandBox user. I was successful and I can see the Smart Card shortcut on the phone. By the way, now I see that I need to create a Website that it is Mobile friendly so it will match the size of the mobile phone.

    Question. Is there any way that I know who the user is when the Mobile Site is being displayed? For example, when the user press the Smart Card Shortcut on the phone, it will take you to the website page. Is it possible to have a Post call like:

    http://www.sampleSite.com/Lemon.aspx?userid=xxxxx

    where "xxxxx" is the User Access Token. This will help the site to identify the user and continue with whatever the site supposed to provide. If this is not possible, then we would need to ask the User login on the website.

    looking forward for a fast answer. Thank you.

    Robert J.

    ps. very happy that the last update on the Android App. Now I can see what the receipt that I am scanning.

  •   •   about 11 years ago

    Hi Robert,

    Thanks a lot for your question. Very excited that you got it to work with the sandbox users.

    You are exactly right: when the user installs your add-on, you will get a user request with an user access token, so you can know who the user is. Let me get an example of what that looks like, and I'll post it here.

    Thanks,
    - Bel

  •   •   about 11 years ago

    Hi Robert,

    Here is some more info that may help you out. From the request, you can get a user_access_token param. In addition,
    you can also use the getUsers API to get all the customers that installed your add-on, and in the call response a user_access_token field is shown.

    Let me know if there are any other questions. Thanks,
    - Bel

  •   •   about 11 years ago

    Thanks!
    I am hoping to have something functional this week.

    Robert J.

  •   •   about 11 years ago

    Hi Bel,

    I am planning my entry into the contest. I still need some clarification of the terminology here, so I can better understand what my options are in terms of creating an Add-On. Sorry if these are really basic or repetitive questions, but I just want to be sure I am understanding correctly before getting too deep into the project.

    -Can my "Add-on" create another "Add-on" for the user? For example Simple Cards seems to be an "Add-On" but it can generate other cards. Are those cards also considered "Add-ons" too?

    -Can my "Add-On" create other cards like Simple Cards does?

    - When I call getAddOns and specify a user token, then will i get the "Add-on" that is my mobile-optimized website only? Will I also get any cards or "Add-Ons" that my mobile optimized website created?

    - Regarding the question from Maxim, are there any other APIs that are in the works in pre-release mode? Can we have access to them? Have these been shared to others?

    - Is it possible to access information from other "Add-Ons" or cards that are not published by me?

    - The documentation for the "Add-On" resource doesn't seem to be complete. The page only shows the different response items.

    Thanks!

    Sven

Comments are closed.