private void retinasApiUsage ( ) throws ApiException { LOG . info ( "The Retinas API usage." ) ; Retinas api = getInfo ( "api.cortical.io" , API_KEY ) ; LOG . info ( "Retinas API: getRetinas" ) ; List < Retina > retinas = api . getAllRetinas ( ) ; for ( Retina retina : retinas ) { LOG . info ( "Retina: Name: " + retina . getRetinaName ( ) + " Description: " + retina . getRetinaDescription ( ) + " Terms in the retina: " + retina . getNumberOfTermsInRetina ( ) ) ; } Retina retina = api . retinaByName ( RETINA_NAME ) ; LOG . info ( "Retina: Name: " + retina . getRetinaName ( ) + " Description: " + retina . getRetinaDescription ( ) + " Terms in the retina: " + retina . getNumberOfTermsInRetina ( ) ) ; }
The Retinas API usage .