Tag object reading
Asked by
Matthew Crown
Hello all,
I have used the sample code within getting started to try and creating a program which can retrieve the unique id of a type 2 tag to be stored within a database along with a username. However, when I attempt to remove the the "Type 2 Tag=" part of the returned data from the tag function, I am unable to iterate over this as the object is not iterable. I can however force this data to be a string and then parse the result. My question is this: is there a way to retrieve only the id attribute itself, or is it a better idea to force the result to be a string and then use this within my solution?
Thanks,
Matt
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- nfcpy Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Stephen Tiedemann
- Solved:
- Last query:
- Last reply:
To post a message you must log in.