I recently created an account at Quizlet, and it appears that by default I need to use their API 2.0. When I enable this module, it does not appear to find my flashcards from Quizlet. I'm assuming this is because this module does not yet work with API 2.0? If that is true, when do you expect a release that will work with API 2.0? And is here any way to change to API 1.0 on Quizlet in the meanwhile to get this module working?

Thanks!

CommentFileSizeAuthor
#5 upgrade_quizlet_API2.0.patch10.61 KBmarkwk

Comments

spazfox’s picture

Disregard my previous comment about not being able to get this module working (I'm leaving this open, though, since presumably we do want it to work with API 2.0 eventually!); I was able to get it working (yay!).

My issue was more related to documentation than anything. I would recommend changing the installation instructions (on both the project page and in a readme.txt file) to something like the following:

  • Download module from Drupal.org.
  • Enable Module.
  • Create an account at Quizlet and retrieve your Quizlet Client ID from https://quizlet.com/api_dashboard/
  • Enter your Quizlet Client ID in the the API key field at /admin/settings/quizlet
  • Create Menu Links for yoursite.com/quizlet/ and yoursite.com/quizlet/search
  • To add a flashcard set to your site, search for it at yoursite.com/quizlet/search and click on the "Save" button when you find it
  • Visit yoursite.com/quizlet to view and interact with your saved flashcard set(s)
  • Enable Quizlet Keyword Search block if desired

Thanks for a cool module! Quizlet is pretty awesome, so it's great to be able to integrate it into a Drupal site.

sandra@digitalworldbiology.com’s picture

Dear spazfox,

Thank you so much for describing how this works! I was really confused about Quizlet until I read your description and realized that I have entered my key instead of my client ID.

markwk’s picture

Status: Active » Closed (fixed)

Sorry for the delay in responding. Good points about documentation. I'll look at adding that.

Regarding upgrading to 2.0. It's an eventual plan, but for now I don't really need that functionality (logins, changing lists, etc.). Just the vocabulary lists is fine.

markwk’s picture

Title: Make work with Quizlet API 2.0 » Update Quizlet API 2.0
Version: 6.x-1.21 » 6.x-1.x-dev
Status: Closed (fixed) » Active

Looks like 1.0 API is going to be no longer active as of January 1, 2012. So need to update the basic calls before, then.

markwk’s picture

StatusFileSize
new10.61 KB

Here's the patch to upgrade to Quizlet's 2.0 API. Still need to debug and test but should be ready soon.

This just basically changed a few calls so search works correctly with new API.

markwk’s picture

Ok. I committed these changes into the 6.x-2.x branch.

markwk’s picture

Assigned: Unassigned » markwk
Status: Active » Fixed

Module now works for Quizlet 2.0 API. Please download and the module and test. Make sure you run update.php and add the new configuration in order to make it work.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.