home.page.html
<ion-grid *ngFor=“let item of items”>
{{item.rank}} imag hi, help me please. {{item.id}} {{item.price_usd}}
home.page.ts
export class HomePage {
public items: any;
constructor(public navCtrl: NavController, public http: HttpClient, public modalController: ModalController) {
/*this.items = [
{title: “Murat”}
]
*/
this.loadData();
}
loadData() {
let data: Observable<any>;
data = this.http.get('https://api.coinmarketcap.com/v1/ticker/');
data.subscribe(result => {
this.items = result;
})
}
}
I got the data. but I could not make a detail page.
web as example
detail.php
echo $_GET[‘id’];
i want like that