Simple library which helps work with different search API such [YouType Data Api](https://developers.google.com/youtube/v3/docs/)
npm install you-linkSimple library which helps work with different search API such YouType Data Api
Simple application on Angular 5
* YouType Data Api
* Bing Web Search API
* ~~Twitter~~
as Application-only authentication available only server
``javascript
import YouLink, {YoutubeProviderId, BingProviderId} from 'you-link';
YouLink.init([{
contentProvider: YoutubeProviderId,
apiKey: 'some-api-key'
}, {
contentProvider: BingProviderId,
apiKey: 'some-api-key'
}]);
`
1. Extends from BaseContentProvider
2. Implement this methods
`javascript
get providerId()
get supportSearch()
get supportLinkParsing()
adaptContent()
sendSearchRequest()
sendGetContentByIdRequest()
parseContentId()
``
3. Register this provider on init method in YouLinkjavascript``
case YourProvider:
this.providers.push(new YourProvider(options));
break;
4. Write unit test!!!