-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I am using wikibase-sdk package in React Native , I always get this error
Network request failed
const wbk = WBK({
instance: 'https://my-wikibase-instan.se',
sparqlEndpoint: 'https://query.wikidata.org/sparql',
});useEffect(()={
const url = wbk.getEntities({
ids: ['Q25387195'],
languages: ['ar'],
});
console.log('====================================');
console.log(url);
console.log('====================================');
// const url = wbk.getEntities({
// ids: ['Q1', 'Q5', 'Q571'],
// languages: ['en', 'fr', 'de'], // returns all languages if not specified
// props: ['info', 'claims'], // returns all props if not specified
// format: 'xml', // default: json
// });
},[])Metadata
Metadata
Assignees
Labels
No labels