tm-vuejs-life

0.1.6 • Public • Published

Getting Started

npm i tm-vue-life

Get your api key: [talentomobile] (https://www.talentomobile.com/).

Configuration

Ensure you import the module and the dependencies:

Basic Example

<template>
  <TmVueLife  @detected="detected" @error="error" @result="result" @completed="completed" token="YOUR_API_KEY"/>
</template>

<script lang="ts">
import { Options, Vue } from 'vue-class-component';
import TmVueLife from 'tm-vuejs-life';

@Options({
  components: {
    TmVueLife,
  },
})
export default class App extends Vue {
  detected(d: any){
    console.log(d);
  }
  error(d: any){
    console.log(d);
  }
  completed(d: any){
    console.log(d);
  }
  result(d: any){
    console.log(d);
  }
}

</script>

<style>
</style>

Return Object

{
    "back_completed": "true",
    "birthday": "550935386",
    "completed": true,
    "country": "ESP",
    "expire": "1857821786",
    "id_photo": "",
    "name": "ESPANOLA ESPANOLA  CARMEN",
    "nationality": "ESP",
    "number": "99999999R",
    "number_back": "99999999R",
    "sex": "F",
    "still_back": "",
    "still_front": "",
    "type": "3back",
    "version_back": "3",
    "version_front": "3",
    "video_back": "",
    "video_front": ""
}

Readme

Keywords

none

Package Sidebar

Install

npm i tm-vuejs-life

Weekly Downloads

0

Version

0.1.6

License

none

Unpacked Size

11.5 kB

Total Files

3

Last publish

Collaborators

  • talento-mobile