How to easily export and import your Flashcards
This infographic is all you need!
You will be able to migrate cards you make anywhere you want.
Do you want to transfer your decks? Export your entire flashcards?
Follow this guide.
If you are more into the text than pictures, this article is for you.
Here is the script you need for transfer. You find it also under the picture.
Don´t worry, just go step by step.
Wanna get more tips and tricks on learning languages, vocabulary apps, and a sneak-peek of the Vocabulary Miner app? Let’s #saymore to you — join for news.
Script to transfer Flashcards to another app:
(() => {
function getWords(courseId, level) {
const url = `https://www.memrise.com/ajax/session/?course_id=${courseId}&level_index=${level}&session_slug=preview`
console.log(“Fetching words from “ + url)
return fetch(url, { credentials: “same-origin” })
// parse response
.then(res => {
return res.status === 200
? res.json()
// map results
.then(data => {
return data.learnables.map(row => ({
original: row.item.value,
translation: row.definition.value
}))
})
.then(words => {
return getWords(courseId, level + 1)
.then(words.concat.bind(words))
})
: []
})
.catch(err => {
console.error(err)
return []
})
}
// fetch
const start = 1
const courseId = location.href.slice(30).match(/\d+/)[0]
getWords(courseId, start)
// format as csv
.then(words => {
console.log(words.length + “ words”)
return words.map(word => word.translation + “\t” + word.original + “\n”).join(“”)
})
.then(console.log)
})()